Update client.js

This commit is contained in:
coderaiser 2012-08-15 11:24:08 +03:00
parent 63dcff7af6
commit d47113ac34

View file

@ -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'){