From d3b5553a735cc59ff8c6634e8525d9de4a5c171e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 7 Jul 2009 01:38:40 +0000 Subject: [PATCH] Simultaneously fix and disable first run URL --- chrome/content/zotero/overlay.js | 5 ++++- chrome/content/zotero/xpcom/zotero.js | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 89ca82f68..f67ba97f7 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -214,10 +214,13 @@ var ZoteroPane = new function() // they the DB is initialized erroneously (e.g. while switching data // directory locations) else if (Zotero.Schema.dbInitialized && Zotero.Prefs.get('firstRun')) { + /* setTimeout(function () { - gBrowser.selectedTab = gBrowser.addTab(ZOTERO_CONFIG.FIRST_RUN_URL); + var url = "http://www.zotero.org/support/quick_start_guide"; + gBrowser.selectedTab = gBrowser.addTab(url);/ }, 400); Zotero.Prefs.set('firstRun', false); + */ } // Hide sync debugging menu by default diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 9ab5aa1e8..1cb671258 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -26,7 +26,6 @@ const ZOTERO_CONFIG = { REPOSITORY_URL: 'http://www.zotero.org/repo', REPOSITORY_CHECK_INTERVAL: 86400, // 24 hours REPOSITORY_RETRY_INTERVAL: 3600, // 1 hour - FIRST_RUN_URL: 'http://www.zotero.org/support/quick_start_guide', BASE_URI: 'http://zotero.org/', WWW_BASE_URL: 'http://www.zotero.org/', SYNC_URL: 'https://sync.zotero.org/'