From 90214935be5e85f8cae4e3681bcc450c1aa7b99b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 Jun 2014 08:56:14 +0000 Subject: [PATCH] reapplied r42638: Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree --- phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js b/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js index c88c491c12..2c695af1b5 100644 --- a/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js +++ b/phpgwapi/js/dhtmlxtree/sources/dhtmlxtree.js @@ -439,6 +439,7 @@ function dhtmlXTreeItemObject(itemId,itemText,parentObject,treeObject,actionHand * @topic: 0 */ 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); var that=this; if (!this.parsCount) this.callEvent("onXLS",[that,this._ld_id]);