diff --git a/lib/client/dom.js b/lib/client/dom.js index b627d6e1..a72282f6 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -696,7 +696,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; * get not current direcotory path */ this.getNotCurrentDirPath = function() { - var panel = this.getPanel(), + var panel = this.getPanel({active: false}), path = this.getCurrentDirPath(panel); return path; @@ -1612,14 +1612,14 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; if (name === '..') { Dialog.alert('No files selected!'); } else { - Images.show.load('top'); - if (!data) to = Dialog.prompt(msg, to); cmp = Util.strCmp(from, to); if (!cmp && to) { + Images.show.load('top'); + files = { from : from, to : to,