From f55fba3dcf87be97d07a5f662525c86b1b49b860 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 29 Dec 2009 22:22:43 +0000 Subject: [PATCH] Missed file in previous commit --- chrome/content/zotero/overlay.xul | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul index 4433147bc..b6f703143 100644 --- 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);