Merge pull request #5217 from yariplus/patch-15

Allow sending Error objects to alertError instead of just plain strings.
v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
commit 0c9f61c629

@ -134,6 +134,8 @@ app.cacheBuster = null;
};
app.alertError = function (message, timeout) {
message = message.message || message;
if (message === '[[error:invalid-session]]') {
return app.handleInvalidSession();
}

Loading…
Cancel
Save