forked from extern/egroupware
Check to see if autocomplete is available before destroying
This commit is contained in:
parent
99921a823a
commit
a21f6aedfe
@ -457,7 +457,10 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
this.div = null;
|
||||
this.search.autocomplete("destroy");
|
||||
if(this.search.data("ui-autocomplete"))
|
||||
{
|
||||
this.search.autocomplete("destroy");
|
||||
}
|
||||
this.search = null;
|
||||
this.app_select = null;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user