mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
MAil tree W.I.P.:
-Enhancements in folder array -Fix wrong encoded autoloading url
This commit is contained in:
parent
5ffb4f13ba
commit
3d765ac00f
@ -203,6 +203,12 @@ var et2_tree = et2_inputWidget.extend(
|
|||||||
if (widget.options.autoloading)
|
if (widget.options.autoloading)
|
||||||
{
|
{
|
||||||
var url = widget.options.autoloading;
|
var url = widget.options.autoloading;
|
||||||
|
|
||||||
|
//Set escaping mode to utf8, as url in
|
||||||
|
//autoloading needs to be utf8 encoded.
|
||||||
|
//For instance item id with umlaut.
|
||||||
|
widget.input.setEscapingMode('utf8');
|
||||||
|
|
||||||
if (url.charAt(0) != '/' && url.substr(0,4) != 'http')
|
if (url.charAt(0) != '/' && url.substr(0,4) != 'http')
|
||||||
{
|
{
|
||||||
url = '/json.php?menuaction='+url;
|
url = '/json.php?menuaction='+url;
|
||||||
|
Loading…
Reference in New Issue
Block a user