From 2d9ae5b87f7d7dad06a1884d475276b293f35e32 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 25 Aug 2009 06:02:27 +0000 Subject: [PATCH] Use real window for doc prefs window on Windows --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index b31afeaf3..8a2b14008 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -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