mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with (fake) deleting file from bottom panel
This commit is contained in:
parent
8d74b39d7a
commit
51d043df8d
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ var CloudCommander, Util,
|
|||
lMsg = 'Are you sure thet you wont delete ';
|
||||
|
||||
/* dom element passed and it is not event */
|
||||
if( Util.isObject(pCurrentFile) )
|
||||
if( Util.isObject(pCurrentFile) && !pCurrentFile.type)
|
||||
lCurrent = pCurrentFile;
|
||||
|
||||
lName = DOM.getCurrentName(lCurrent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue