mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 05:02:54 +00:00
Update client.js
This commit is contained in:
parent
d12e7a6cd1
commit
38de605184
1 changed files with 6 additions and 1 deletions
|
|
@ -995,7 +995,12 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
else {
|
||||
lLi.onclick = CloudClient._setCurrent();
|
||||
|
||||
lLi.oncontextmenu = CloudCommander.mouseBinding(lLi);
|
||||
lLi.oncontextmenu = function(pEvent){
|
||||
if(typeof CloudCommander.Menu === 'function')
|
||||
CloudCommander.Menu(pEvent.x, pEvent.y);
|
||||
else
|
||||
CloudCommander.Menu.show();
|
||||
}
|
||||
|
||||
/* если ссылка на папку, а не файл */
|
||||
if(a[i].target !== '_blank'){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue