Change tree autoload URL to work with egw.link() instead of against it, while still giving the tree lib an absolute URL.

This commit is contained in:
Nathan Gray 2013-12-18 17:54:28 +00:00
parent bf231133a0
commit 907e9740d8

View File

@ -188,9 +188,9 @@ var et2_tree = et2_inputWidget.extend(
{
url = '/json.php?menuaction='+url;
}
if (url.charAt(0) == '/') url = egw.webserverUrl+url;
this.autoloading_url = url;
widget.input.setXMLAutoLoading(url);
widget.input.setXMLAutoLoading(egw.link(url));
widget.input.setDataMode('JSON');
}
},