mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-30 17:58:39 +01:00
Make sure autoloading sets values as they are loaded
This commit is contained in:
parent
864a5f2673
commit
967882240a
@ -210,6 +210,11 @@ var et2_tree = et2_inputWidget.extend(
|
||||
// Add in the callback so we can keep the two in sync
|
||||
widget.input.AJAX_callback = function(dxmlObject) {
|
||||
widget._dhtmlxtree_json_callback(JSON.parse(dxmlObject.xmlDoc.responseText), widget.input.lastLoadedXMLId);
|
||||
// Call this in case we added some options that were already selected, but missing
|
||||
if(widget.options.multiple)
|
||||
{
|
||||
widget.set_value(widget.value);
|
||||
}
|
||||
};
|
||||
|
||||
if (widget.options.autoloading)
|
||||
|
Loading…
Reference in New Issue
Block a user