Fix broken doc prefs window

This commit is contained in:
Dan Stillman 2008-12-01 20:51:16 +00:00
parent 01748aab01
commit f95291af88

View file

@ -799,7 +799,9 @@ Zotero.Integration.SOAP_Compat = new function() {
io.useBookmarks = session.prefs.fieldType;
}
watcher.openWindow(
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.openWindow(
null, 'chrome://zotero/content/integrationDocPrefs.xul', '',
'chrome,modal,centerscreen'
+ (Zotero.Integration.usePopup ? ',popup' : ''),