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
98f40d5dd0
commit
c4503ffce0
1 changed files with 4 additions and 1 deletions
|
|
@ -1000,13 +1000,14 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
* loads and shows
|
||||
*/
|
||||
lLi.oncontextmenu = function(pEvent){
|
||||
var lRetern_b = true;
|
||||
if(typeof CloudCommander.Menu === 'function'){
|
||||
CloudCommander.Menu({
|
||||
x: pEvent.x,
|
||||
y: pEvent.y
|
||||
});
|
||||
/* disabling browsers menu*/
|
||||
return false;
|
||||
lReturn_b = false;
|
||||
}
|
||||
/* getting html element
|
||||
* currentTarget - DOM event
|
||||
|
|
@ -1014,6 +1015,8 @@ CloudClient._changeLinks = function(pPanelID){
|
|||
*/
|
||||
var lTarget = pEvent.currentTarget || pEvent.target;
|
||||
Util.setCurrentFile(lTarget);
|
||||
|
||||
return lReturn_b;
|
||||
}
|
||||
|
||||
/* если ссылка на папку, а не файл */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue