mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
Update client.js
This commit is contained in:
parent
cbcfd155d5
commit
e7c92c52f2
1 changed files with 6 additions and 1 deletions
|
|
@ -652,6 +652,12 @@ CloudClient._setCurrent=(function(){
|
|||
if(pFromEnter===true){
|
||||
if(typeof this.ondblclick === 'function')
|
||||
this.ondblclick(this);
|
||||
/* enter pressed on file */
|
||||
else{
|
||||
var lA = this.getElementsByTagNames('a');
|
||||
if(typeof lA.ondblclick === 'function')
|
||||
lA.ondblclick(this);
|
||||
}
|
||||
}/* если мы попали сюда от клика мышки */
|
||||
else{pFromEnter.returnValue=false;}
|
||||
|
||||
|
|
@ -849,7 +855,6 @@ CloudClient._changeLinks = function(pPanelID)
|
|||
/* если ссылка на папку, а не файл */
|
||||
if(a[i].target !== '_blank')
|
||||
lLi.ondblclick = CloudClient._loadDir(link);
|
||||
else lLi.ondblclick = function(){return false;};
|
||||
|
||||
lLi.id = (a[i].title ? a[i].title : a[i].textContent) +
|
||||
'(' + pPanelID + ')';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue