mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
If extra data is sent from a get_rows, try to update a matching child widget.
This commit is contained in:
parent
ee7349f4f6
commit
001eab9159
@ -352,6 +352,14 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
|
|||||||
{
|
{
|
||||||
var mgr = nm.getArrayMgr('content');
|
var mgr = nm.getArrayMgr('content');
|
||||||
mgr.data[i] = _response.rows[i];
|
mgr.data[i] = _response.rows[i];
|
||||||
|
|
||||||
|
// It's not enough to just update the data, the widgets need to
|
||||||
|
// be updated too, if there are matching widgets.
|
||||||
|
var widget = nm.getWidgetById(i);
|
||||||
|
if(widget && widget.set_value)
|
||||||
|
{
|
||||||
|
widget.set_value(mgr.getEntry(i));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user