forked from extern/egroupware
reapplied r42638: Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree
This commit is contained in:
parent
d9c9e06aad
commit
90214935be
@ -439,6 +439,7 @@ function dhtmlXTreeItemObject(itemId,itemText,parentObject,treeObject,actionHand
|
|||||||
* @topic: 0
|
* @topic: 0
|
||||||
*/
|
*/
|
||||||
dhtmlXTreeObject.prototype.loadXML=function(file,afterCall){
|
dhtmlXTreeObject.prototype.loadXML=function(file,afterCall){
|
||||||
|
afterCall = afterCall || this.AJAX_callback;
|
||||||
if (this._datamode && this._datamode!="xml") return this["load"+this._datamode.toUpperCase()](file,afterCall);
|
if (this._datamode && this._datamode!="xml") return this["load"+this._datamode.toUpperCase()](file,afterCall);
|
||||||
var that=this;
|
var that=this;
|
||||||
if (!this.parsCount) this.callEvent("onXLS",[that,this._ld_id]);
|
if (!this.parsCount) this.callEvent("onXLS",[that,this._ld_id]);
|
||||||
|
Loading…
Reference in New Issue
Block a user