forked from extern/egroupware
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:
parent
bf231133a0
commit
907e9740d8
@ -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');
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user