Fix broken doc prefs window
This commit is contained in:
parent
01748aab01
commit
f95291af88
1 changed files with 8 additions and 6 deletions
|
@ -799,12 +799,14 @@ Zotero.Integration.SOAP_Compat = new function() {
|
|||
io.useBookmarks = session.prefs.fieldType;
|
||||
}
|
||||
|
||||
watcher.openWindow(
|
||||
null, 'chrome://zotero/content/integrationDocPrefs.xul', '',
|
||||
'chrome,modal,centerscreen'
|
||||
+ (Zotero.Integration.usePopup ? ',popup' : ''),
|
||||
io, true
|
||||
);
|
||||
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' : ''),
|
||||
io, true
|
||||
);
|
||||
session.prefs.useEndnotes = io.useEndnotes;
|
||||
session.prefs.fieldType = io.useBookmarks;
|
||||
session.setStyle(io.style, session.prefs);
|
||||
|
|
Loading…
Reference in a new issue