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