mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 10:38:26 +00:00
fix(dom) getNotCurrentDirPath: getPanel -> getPanel({active:false})
This commit is contained in:
parent
18594919e2
commit
0f0f4a15a7
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue