- Fix changelog link in upgrade wizard after XPI upgrade auto-restart

- Don't focus changelog link by default (make it blue rather than red)
This commit is contained in:
Dan Stillman 2007-04-28 05:51:57 +00:00
parent 8e386f3ce0
commit 6d566977cc
2 changed files with 2 additions and 2 deletions

View File

@ -357,8 +357,7 @@
// Used for loading the changelog after upgrades
if (Zotero.initialURL) {
gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL);
Zotero.initialURL = null;
setTimeout("gBrowser.selectedTab = gBrowser.addTab(Zotero.initialURL); Zotero.initialURL = null;", 1);
}
}
else {

View File

@ -33,6 +33,7 @@
var wizard = document.getElementById('zotero-schema-upgrade');
wizard.getButton('cancel').setAttribute('disabled', true);
wizard.canRewind = false;
wizard.getButton('finish').focus(); // prevent focusing of changelog link
}