You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($('button[data-hash="' + hash + '"]').closest('.field').attr('data-type') == 'craft\\redactor\\Field') {
91
-
let textareaId = textField.attr('id');
92
-
$R('#' + textareaId, 'source.setCode', result);
93
-
} else {
94
-
$(textField).val(result);
95
-
}
96
-
if(state == 'length') {
97
-
alert({{ 'The reply has exceeded the specified maximum length. To fix this, either increase the value of the max_token setting or try telling chat-gpt to limit itself to a certain number of words.'|t('chatgpt-integration') }});
if ($('button[data-hash="' + hash + '"]').closest('.field').attr('data-type') == 'craft\\redactor\\Field') {
90
+
let textareaId = textField.attr('id');
91
+
$R('#' + textareaId, 'source.setCode', result);
92
+
} else {
93
+
$(textField).val(result);
94
+
}
95
+
if(state == 'length') {
96
+
alert('{{ 'The reply has exceeded the specified maximum length. To fix this, either increase the value of the max_token setting or try telling chat-gpt to limit itself to a certain number of words.'|t('chatgpt-integration') }}');
0 commit comments