mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
minor changes
This commit is contained in:
parent
554ae2bd9f
commit
56dc73f431
1 changed files with 3 additions and 1 deletions
|
|
@ -299,6 +299,8 @@ CloudClient._setCurrent=(function(){
|
|||
this.className!=='fm_header'){
|
||||
|
||||
if (this.className === CloudClient.CURRENT_FILE){
|
||||
var lParent = this;
|
||||
|
||||
setTimeout(function(){
|
||||
/* waiting a few seconds
|
||||
* and if classes still equal
|
||||
|
|
@ -306,7 +308,7 @@ CloudClient._setCurrent=(function(){
|
|||
* in other case
|
||||
* double click event happend
|
||||
*/
|
||||
if(this.className === CloudClient.CURRENT_FILE)
|
||||
if(lParent.className === CloudClient.CURRENT_FILE)
|
||||
CloudClient._editFileName();
|
||||
},400);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue