From 43c57ec18c08809a77665baad1b35e6ab9b62ff2 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 6 Jul 2010 10:37:16 +0000 Subject: [PATCH] closes #1688, Preferences window appears in wrong screen position on Windows --- chrome/content/zotero/overlay.js | 2 +- chrome/content/zotero/preferences/preferences.xul | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 611c3dae8..827ca6f51 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -2397,7 +2397,7 @@ var ZoteroPane = new function() }; window.openDialog('chrome://zotero/content/preferences/preferences.xul', 'zotero-prefs', - 'chrome,titlebar,toolbar,' + 'chrome,titlebar,toolbar,centerscreen,' + Zotero.Prefs.get('browser.preferences.instantApply', true) ? 'dialog=no' : 'modal', io ); diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index f8d64ad49..ad79a079a 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -40,7 +40,7 @@ To add a new preference: in Zotero.Prefs.observe() --> - @@ -840,4 +840,4 @@ To add a new preference: ]]>