fixed bug with (fake) deleting file

This commit is contained in:
coderaiser 2013-02-06 14:47:15 -05:00
parent f4ba5598da
commit 8d74b39d7a
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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);