commit f55fba3dcf87be97d07a5f662525c86b1b49b860
parent 3d78c2b4d85657c621bd0cbbb73469e52daf340f
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 29 Dec 2009 22:22:43 +0000
Missed file in previous commit
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul
@@ -498,11 +498,6 @@
// since we need to reference it in script elsewhere
document.getElementById('zotero-tb-actions-reportErrors').setAttribute('label',
Zotero.getString('errorReport.reportErrors'));
-
- // Used for loading the changelog after upgrades
- if (Zotero.initialURL) {
- setTimeout("gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL); Zotero.initialURL = null;", 1);
- }
}
else {
if (Zotero) {
@@ -527,6 +522,11 @@
icon.setAttribute('error', 'true');
icon.setAttribute('hidden', false);
}
+
+ // Used for loading pages from upgrade wizard
+ if (Zotero.initialURL) {
+ setTimeout("gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL); Zotero.initialURL = null;", 1);
+ }
}, false);
document.getElementById('appcontent').addEventListener('keydown', ZoteroPane.handleKeyDown, true);