forked from extern/egroupware
Check that input is created before using it, avoids error when chosen gets involved.
This commit is contained in:
parent
3ddf4a0300
commit
c8d2953c85
@ -448,7 +448,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
|||||||
{
|
{
|
||||||
_value = _value.split(',');
|
_value = _value.split(',');
|
||||||
}
|
}
|
||||||
if(this.options.tags || this.options.search)
|
if(this.input !== null && (this.options.tags || this.options.search))
|
||||||
{
|
{
|
||||||
this.input.val(_value);
|
this.input.val(_value);
|
||||||
this.input.trigger("liszt:updated");
|
this.input.trigger("liszt:updated");
|
||||||
|
Loading…
Reference in New Issue
Block a user