Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

This commit is contained in:
yflory 2017-08-28 15:13:30 +02:00
commit 147d88d845

View File

@ -64,6 +64,9 @@ define([
}); });
window.setTimeout(function () { window.setTimeout(function () {
findOKButton().focus(); findOKButton().focus();
if (typeof(UI.notify) === 'function') {
UI.notify();
}
}); });
}; };
@ -97,6 +100,9 @@ define([
cb(null, ev); cb(null, ev);
stopListening(keyHandler); stopListening(keyHandler);
}); });
if (typeof(UI.notify) === 'function') {
UI.notify();
}
}; };
UI.confirm = function (msg, cb, opt, force, styleCB) { UI.confirm = function (msg, cb, opt, force, styleCB) {
@ -141,6 +147,9 @@ define([
styleCB($ok.closest('.dialog')); styleCB($ok.closest('.dialog'));
} }
}, 0); }, 0);
if (typeof(UI.notify) === 'function') {
UI.notify();
}
}; };
UI.log = function (msg) { UI.log = function (msg) {