From 3692eebc2803722555b2f14b5474e9bdd9e8f3b8 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 14 Aug 2012 18:02:07 +0300 Subject: [PATCH] Update client.js --- client.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client.js b/client.js index 424a56a2..830d3f12 100644 --- a/client.js +++ b/client.js @@ -997,7 +997,10 @@ CloudClient._changeLinks = function(pPanelID){ lLi.oncontextmenu = function(pEvent){ if(typeof CloudCommander.Menu === 'function') - CloudCommander.Menu(pEvent.x, pEvent.y); + CloudCommander.Menu.x = pEvent.x; + CloudCommander.Menu.y = pEvent.y; + + CloudCommander.Menu(); else CloudCommander.Menu.show(); }