mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:39 +02:00
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._super.apply(this, arguments);
|
||||||
|
|
||||||
this.div = null;
|
this.div = null;
|
||||||
this.search.autocomplete("destroy");
|
if(this.search.data("ui-autocomplete"))
|
||||||
|
{
|
||||||
|
this.search.autocomplete("destroy");
|
||||||
|
}
|
||||||
this.search = null;
|
this.search = null;
|
||||||
this.app_select = null;
|
this.app_select = null;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user