mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 10:28:31 +02:00
add dhtmlxMenu as context menu for dhtmxTree
This commit is contained in:
@ -127,7 +127,8 @@ function dhtmlXTreeObject(htmlObject, width, height, rootId){
|
||||
var self=this;
|
||||
this.allTree.onselectstart=new Function("return false;");
|
||||
if (_isMacOS)
|
||||
this.allTree.oncontextmenu = function(e){ return self._doContClick(e||window.event); };
|
||||
this.allTree.oncontextmenu = function(e){ return self._doContClick(e||window.event); };
|
||||
else // chrom on Mac does NOT work otherwise
|
||||
this.allTree.onmousedown = function(e){ return self._doContClick(e||window.event); };
|
||||
|
||||
this.XMLLoader=new dtmlXMLLoaderObject(this._parseXMLTree,this,true,this.no_cashe);
|
||||
|
Reference in New Issue
Block a user