forked from extern/egroupware
Check that options are there before using.
Hopefully fixes bug in IE11.
This commit is contained in:
parent
0f5752bdd6
commit
d3ef2618cb
@ -768,8 +768,8 @@ var et2_link_entry = et2_inputWidget.extend(
|
|||||||
},
|
},
|
||||||
|
|
||||||
getValue: function() {
|
getValue: function() {
|
||||||
var value = this.options.only_app ? this.options.value.id : this.options.value;
|
var value = this.options && this.options.only_app ? this.options.value.id : this.options.value || null;
|
||||||
if(!this.options.only_app)
|
if(!this.options.only_app && this.search)
|
||||||
{
|
{
|
||||||
value.search = this.search.val();
|
value.search = this.search.val();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user