mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(dom) sendDelete: rm ?dir
This commit is contained in:
parent
f2c9ed92c6
commit
674b8f4b50
1 changed files with 1 additions and 5 deletions
|
|
@ -541,15 +541,11 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
var n, names, path,
|
||||
query = '',
|
||||
RESTful = DOM.RESTful,
|
||||
current = CurrentInfo.element,
|
||||
isDir = DOM.CurrentInfo.isDir;
|
||||
current = CurrentInfo.element;
|
||||
|
||||
if (!files)
|
||||
files = Cmd.getSelectedFiles();
|
||||
|
||||
if (isDir)
|
||||
query = '?dir';
|
||||
|
||||
names = DOM.getSelectedNames(files),
|
||||
n = names && names.length;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue