249302 - Firefox offers to migrate a non-existant Phoenix Firebird Firefox profile... add "fromfile" to the exclusion conditions... *smacks vlad*
git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@162940 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -71,9 +71,15 @@ var MigrationWizard = {
|
||||
var group = document.getElementById("importSourceGroup");
|
||||
for (var i = 0; i < group.childNodes.length; ++i) {
|
||||
var suffix = group.childNodes[i].id;
|
||||
if (suffix != "nothing") {
|
||||
if (suffix != "nothing" && suffix != "fromfile") {
|
||||
var contractID = kProfileMigratorContractIDPrefix + suffix;
|
||||
var migrator = Components.classes[contractID].createInstance(kIMig);
|
||||
try {
|
||||
var migrator = Components.classes[contractID].createInstance(kIMig);
|
||||
}
|
||||
catch (e) {
|
||||
dump("*** eeee!!! contractID =" + contractID + "\n");
|
||||
return;
|
||||
}
|
||||
if (!migrator.sourceExists)
|
||||
group.childNodes[i].hidden = true;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#endif
|
||||
<description id="importBookmarks" hidden="true">&importFromBookmarks.label;</description>
|
||||
|
||||
<radiogroup id="importSourceGroup">
|
||||
<radiogroup id="importSourceGroup" align="start">
|
||||
<radio id="phoenix" label="&importFromPhoenix.label;" accesskey="&importFromPhoenix.accesskey;" hidden="true"/>
|
||||
#ifdef XP_UNIX
|
||||
#ifdef XP_MACOSX
|
||||
|
||||
Reference in New Issue
Block a user