Add properties to the files not in the trash

This commit is contained in:
yflory
2017-03-21 11:34:18 +01:00
parent 61d33f2dd6
commit 7afde2309d
2 changed files with 21 additions and 13 deletions

View File

@@ -1517,9 +1517,10 @@ define([
common.alert = function (msg, cb, force) {
cb = cb || function () {};
if (force !== true) { msg = fixHTML(msg); }
var keyHandler = listenForKeys(function (e) { // yes
var close = function (e) {
findOKButton().click();
});
};
var keyHandler = listenForKeys(close, close);
Alertify.alert(msg, function (ev) {
cb(ev);
stopListening(keyHandler);