v1.18.x
barisusakli 8 years ago
parent 49267d54b7
commit 2e28a8f7c7

@ -27,6 +27,7 @@ define('forum/chats/messages', ['components', 'sounds', 'translator'], function
message: msg
}, function (err) {
if (err) {
inputEl.val(msg);
if (err.message === '[[error:email-not-confirmed-chat]]') {
return app.showEmailConfirmWarning(err);
}
@ -42,6 +43,8 @@ define('forum/chats/messages', ['components', 'sounds', 'translator'], function
message: msg
}, function (err) {
if (err) {
inputEl.val(msg);
inputEl.attr('data-mid', mid);
return app.alertError(err.message);
}
});

Loading…
Cancel
Save