mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:21:34 +01:00
Make sure content manager is not null before trying to use it (occasionally happens with programmatically created selectboxes)
This commit is contained in:
parent
5b4484317d
commit
3e4100d5df
@ -223,7 +223,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
|
||||
// Check whether the options entry was found, if not read it from the
|
||||
// content array.
|
||||
if (jQuery.isEmptyObject(_attrs["select_options"]))
|
||||
if (jQuery.isEmptyObject(_attrs["select_options"]) && this.getArrayMgr('content') != null)
|
||||
{
|
||||
if (content_options) _attrs['select_options'] = content_options;
|
||||
var content_mgr = this.getArrayMgr('content');
|
||||
|
Loading…
Reference in New Issue
Block a user