From 169630c5feb92563c249f23f008630855d86c31e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 2 Mar 2008 17:20:16 +0000 Subject: [PATCH] Fix progress window on Firefox 3 --- chrome/content/zotero/xpcom/progressWindow.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/chrome/content/zotero/xpcom/progressWindow.js b/chrome/content/zotero/xpcom/progressWindow.js index be889b17e..bd1f316ea 100644 --- a/chrome/content/zotero/xpcom/progressWindow.js +++ b/chrome/content/zotero/xpcom/progressWindow.js @@ -62,11 +62,6 @@ Zotero.ProgressWindowSet = new function() { if (parent) { var right = parent.screenX + parent.outerWidth; var bottom = parent.screenY + parent.outerHeight; - // On OS X outerHeight doesn't include 22px title bar and - // moveTo() positions popups 22px below the specified location - if (Zotero.isMac) { - bottom += (22 * 2); - } } else { var right = progressWin.screen.width + X_OFFSET - X_WINDOWLESS_OFFSET; @@ -145,11 +140,11 @@ Zotero.ProgressWindow = function(_window){ } if (_window) { - _progressWindow = _window.openDialog("chrome://zotero/chrome/progressWindow.xul", + _progressWindow = _window.openDialog("chrome://zotero/content/progressWindow.xul", "", "chrome,dialog=no,titlebar=no,popup=yes"); } else { - _progressWindow = ww.openWindow(null, "chrome://zotero/chrome/progressWindow.xul", + _progressWindow = ww.openWindow(null, "chrome://zotero/content/progressWindow.xul", "", "chrome,dialog=no,titlebar=no,popup=yes", null); } _progressWindow.addEventListener("pageshow", _onWindowLoaded, false);