mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
Update client.js
This commit is contained in:
parent
beb77ddcdc
commit
ab13784f2c
1 changed files with 4 additions and 4 deletions
|
|
@ -999,17 +999,17 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
/* if right button clicked menu will
|
||||
* loads and shows
|
||||
*/
|
||||
lLi.oncontextmenu = function(){
|
||||
lLi.oncontextmenu = function(pEvent){
|
||||
if(typeof CloudCommander.Menu === 'function'){
|
||||
CloudCommander.Menu({
|
||||
x: event.x,
|
||||
y: event.y
|
||||
x: pEvent.x,
|
||||
y: pEvent.y
|
||||
});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Util.setCurrentFile(event.currentTarget);
|
||||
Util.setCurrentFile(pEvent.currentTarget);
|
||||
}
|
||||
|
||||
/* если ссылка на папку, а не файл */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue