mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
fix(listeners) onTouch: add path
This commit is contained in:
parent
4730a2056e
commit
749562c46f
1 changed files with 4 additions and 1 deletions
|
|
@ -182,7 +182,10 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
isCurrent = DOM.isCurrentFile(element);
|
||||
|
||||
if (isCurrent) {
|
||||
CloudCmd.loadDir();
|
||||
CloudCmd.loadDir({
|
||||
path: DOM.getCurrentPath()
|
||||
});
|
||||
|
||||
Events.preventDefault(event);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue