mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01: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];
|
||||
var select = nm.getWidgetById(id);
|
||||
if(select)
|
||||
if(select && select.set_select_options)
|
||||
{
|
||||
select.set_select_options(_response.rows.sel_options[id]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user