Keep the focus on the iframe window after canceling a deletion

pull/1/head
yflory 8 years ago
parent 3f7dea8f7e
commit 14938089ac

@ -660,6 +660,7 @@ define([
msg = Messages._getKey('fm_removeDialog', [name]);
}
Cryptpad.confirm(msg, function (res) {
$(ifrw).focus();
if (!res) { return; }
andThen();
});
@ -1935,6 +1936,7 @@ define([
}
Cryptpad.confirm(msg, function(res) {
$(ifrw).focus();
if (!res) { return; }
filesOp.deletePathsPermanently(paths);
refresh();

Loading…
Cancel
Save