focus on OK button when we pop an alert

This commit is contained in:
ansuz 2016-12-29 17:10:59 +01:00
parent 850bd42149
commit 91a806ab86

View File

@ -952,6 +952,9 @@ define([
cb(ev);
stopListening(keyHandler);
});
window.setTimeout(function () {
findOKButton().focus();
});
};
common.prompt = function (msg, def, cb, opt) {