From 0996160b2a8b56dd6feaf78205523daaaecf9a5d Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 15 Aug 2012 11:46:44 +0300 Subject: [PATCH] Update client.js --- client.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client.js b/client.js index 8021e974..fddf7549 100644 --- a/client.js +++ b/client.js @@ -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); } /* если ссылка на папку, а не файл */