forked from extern/egroupware
Make sure options are available before getting access to its properties
-Avoid error while saving tracker using IE 11
This commit is contained in:
parent
14583e5b4a
commit
0db144feb9
@ -768,7 +768,7 @@ var et2_link_entry = et2_inputWidget.extend(
|
|||||||
},
|
},
|
||||||
|
|
||||||
getValue: function() {
|
getValue: function() {
|
||||||
var value = this.options && this.options.only_app ? this.options.value.id : this.options.value || null;
|
var value = this.options && this.options.only_app ? this.options.value.id : this.options? this.options.value: null;
|
||||||
if(!this.options.only_app && this.search)
|
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