www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 169630c5feb92563c249f23f008630855d86c31e
parent 683f2e23db948584c6afad7a2b43c22a1f1a46e6
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  2 Mar 2008 17:20:16 +0000

Fix progress window on Firefox 3


Diffstat:
Mchrome/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 @@ -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);