mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
Update client.js
This commit is contained in:
parent
63dcff7af6
commit
d47113ac34
1 changed files with 10 additions and 1 deletions
11
client.js
11
client.js
|
|
@ -996,7 +996,16 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
else {
|
||||
lLi.onclick = CloudClient._setCurrent();
|
||||
|
||||
lLi.oncontextmenu = CloudClient.mouseBinding;
|
||||
/* if right button clicked menu will
|
||||
* loads and shows
|
||||
*/
|
||||
lLi.oncontextmenu = function(){
|
||||
if(typeof CloudCommander.Menu === 'function')
|
||||
CloudCommander.Menu({
|
||||
x: pEvent.x,
|
||||
y: pEvent.y
|
||||
});
|
||||
}
|
||||
|
||||
/* если ссылка на папку, а не файл */
|
||||
if(a[i].target !== '_blank'){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue