Fix Services.wm call

This commit is contained in:
Dan Stillman 2013-11-28 00:18:44 -05:00
parent 84882c8ecf
commit b20a2e153b

View File

@ -2443,7 +2443,7 @@ Zotero.Prefs = new function(){
Zotero.updateQuickSearchBox(win.ZoteroPane.document); Zotero.updateQuickSearchBox(win.ZoteroPane.document);
} }
var enumerator = wm.getEnumerator("zotero:item-selector"); var enumerator = Services.wm.getEnumerator("zotero:item-selector");
while (enumerator.hasMoreElements()) { while (enumerator.hasMoreElements()) {
var win = enumerator.getNext(); var win = enumerator.getNext();
if (!win.Zotero) continue; if (!win.Zotero) continue;