Use real window for doc prefs window on Windows
This commit is contained in:
parent
a0369ee5c2
commit
2d9ae5b87f
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ Zotero.Integration.Session.prototype.setDocPrefs = function(primaryFieldType, se
|
||||||
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||||
.getService(Components.interfaces.nsIWindowWatcher)
|
.getService(Components.interfaces.nsIWindowWatcher)
|
||||||
.openWindow(null, 'chrome://zotero/content/integrationDocPrefs.xul', '',
|
.openWindow(null, 'chrome://zotero/content/integrationDocPrefs.xul', '',
|
||||||
'chrome,modal,centerscreen' + (Zotero.isWin ? ',popup' : ''), io, true);
|
'chrome,modal,centerscreen', io, true);
|
||||||
if(!io.style) return false;
|
if(!io.style) return false;
|
||||||
|
|
||||||
// set data
|
// set data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue