Use real window for doc prefs window on Windows

This commit is contained in:
Dan Stillman 2009-08-25 06:02:27 +00:00
parent a0369ee5c2
commit 2d9ae5b87f

View file

@ -738,7 +738,7 @@ Zotero.Integration.Session.prototype.setDocPrefs = function(primaryFieldType, se
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.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;
// set data