Fix broken autocomplete popup when editing a saved search
https://forums.zotero.org/discussion/comment/345646/#Comment_345646
This is probably the actual fix for what I was trying to fix in
360f034b5
, and I couldn't reproduce it because it was about saved
searches.
This commit is contained in:
parent
5a1e329618
commit
991e542888
2 changed files with 6 additions and 1 deletions
|
@ -41,6 +41,12 @@
|
|||
</resources>
|
||||
|
||||
<implementation>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
<property name="groups"/>
|
||||
|
||||
<field name="searchRef"/>
|
||||
|
|
|
@ -32,7 +32,6 @@ const Ci = Components.interfaces;
|
|||
const Cr = Components.results;
|
||||
|
||||
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var Zotero = Components.classes["@zotero.org/Zotero;1"]
|
||||
.getService(Components.interfaces.nsISupports)
|
||||
|
|
Loading…
Reference in a new issue