mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02:00
Make sure widget is a selectbox before trying to set its options
This commit is contained in:
parent
cdbe049f21
commit
961e32241d
@ -203,7 +203,7 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(
|
|||||||
{
|
{
|
||||||
mgr.data[id] = _response.rows.sel_options[id];
|
mgr.data[id] = _response.rows.sel_options[id];
|
||||||
var select = nm.getWidgetById(id);
|
var select = nm.getWidgetById(id);
|
||||||
if(select)
|
if(select && select.set_select_options)
|
||||||
{
|
{
|
||||||
select.set_select_options(_response.rows.sel_options[id]);
|
select.set_select_options(_response.rows.sel_options[id]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user