зеркало из https://github.com/mozilla/pjs.git
Follow up to Bug 252483 (Bv1) <aw-accounttype.js> |var| addition. Patch by Serge GAUTHERIE <gautheri@noos.fr> r/sr=mscott
This commit is contained in:
Родитель
0b2563e36a
Коммит
55adce5deb
|
@ -110,13 +110,13 @@ function setupWizardPanels() {
|
||||||
else
|
else
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
wizardPanels.push("done");
|
wizardPanels.push("done");
|
||||||
|
|
||||||
// Set up order of panels
|
// Set up order of panels
|
||||||
for (i = 0; i < (wizardPanels.length-1); i++)
|
for (i = 0; i < (wizardPanels.length-1); i++)
|
||||||
setNextPage(wizardPanels[i], wizardPanels[i+1]);
|
setNextPage(wizardPanels[i], wizardPanels[i+1]);
|
||||||
|
|
||||||
// make the account type page go to the very first of our approved wizard panels...this is usually going to
|
// make the account type page go to the very first of our approved wizard panels...this is usually going to
|
||||||
// be accounttype --> identitypage unless we were configured to skip the identity page
|
// be accounttype --> identitypage unless we were configured to skip the identity page
|
||||||
setNextPage("accounttype",wizardPanels[0]);
|
setNextPage("accounttype",wizardPanels[0]);
|
||||||
|
@ -126,7 +126,7 @@ function initializeIspData()
|
||||||
{
|
{
|
||||||
if (!document.getElementById("mailaccount").selected) {
|
if (!document.getElementById("mailaccount").selected) {
|
||||||
parent.SetCurrentAccountData(null);
|
parent.SetCurrentAccountData(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// now reflect the datasource up into the parent
|
// now reflect the datasource up into the parent
|
||||||
var accountSelection = document.getElementById("acctyperadio");
|
var accountSelection = document.getElementById("acctyperadio");
|
||||||
|
@ -134,7 +134,7 @@ function initializeIspData()
|
||||||
var ispName = accountSelection.selectedItem.id;
|
var ispName = accountSelection.selectedItem.id;
|
||||||
|
|
||||||
dump("initializing ISP data for " + ispName + "\n");
|
dump("initializing ISP data for " + ispName + "\n");
|
||||||
|
|
||||||
if (!ispName || ispName == "") return;
|
if (!ispName || ispName == "") return;
|
||||||
|
|
||||||
parent.PrefillAccountForIsp(ispName);
|
parent.PrefillAccountForIsp(ispName);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче