Simultaneously fix and disable first run URL

This commit is contained in:
Dan Stillman 2009-07-07 01:38:40 +00:00
parent c0fc3aeaaf
commit d3b5553a73
2 changed files with 4 additions and 2 deletions

View file

@ -214,10 +214,13 @@ var ZoteroPane = new function()
// they the DB is initialized erroneously (e.g. while switching data // they the DB is initialized erroneously (e.g. while switching data
// directory locations) // directory locations)
else if (Zotero.Schema.dbInitialized && Zotero.Prefs.get('firstRun')) { else if (Zotero.Schema.dbInitialized && Zotero.Prefs.get('firstRun')) {
/*
setTimeout(function () { 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); }, 400);
Zotero.Prefs.set('firstRun', false); Zotero.Prefs.set('firstRun', false);
*/
} }
// Hide sync debugging menu by default // Hide sync debugging menu by default

View file

@ -26,7 +26,6 @@ const ZOTERO_CONFIG = {
REPOSITORY_URL: 'http://www.zotero.org/repo', REPOSITORY_URL: 'http://www.zotero.org/repo',
REPOSITORY_CHECK_INTERVAL: 86400, // 24 hours REPOSITORY_CHECK_INTERVAL: 86400, // 24 hours
REPOSITORY_RETRY_INTERVAL: 3600, // 1 hour REPOSITORY_RETRY_INTERVAL: 3600, // 1 hour
FIRST_RUN_URL: 'http://www.zotero.org/support/quick_start_guide',
BASE_URI: 'http://zotero.org/', BASE_URI: 'http://zotero.org/',
WWW_BASE_URL: 'http://www.zotero.org/', WWW_BASE_URL: 'http://www.zotero.org/',
SYNC_URL: 'https://sync.zotero.org/' SYNC_URL: 'https://sync.zotero.org/'