fix(dom) getNotCurrentDirPath: getPanel -> getPanel({active:false})

This commit is contained in:
coderaiser 2015-01-08 14:09:16 -05:00
parent 18594919e2
commit 0f0f4a15a7

View file

@ -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,