зеркало из https://github.com/mozilla/pjs.git
117395 cannot find phone book entry
This commit is contained in:
Родитель
0ad184f8fa
Коммит
3c85ccc510
|
@ -209,10 +209,11 @@ pages[20][0]=new page("ok.htm",null,null);
|
|||
pages[21]=new Array();
|
||||
pages[21][0]=new page("okreboot.htm",null,null);
|
||||
|
||||
pages[22]=new Array();
|
||||
pages[22][0]=new page("error.htm",null,null);
|
||||
pages[22][1]=new method("register.htm","parent.content.go('New Path')",true);
|
||||
pages[22][2]=new method("connect2.htm","parent.content.go('Existing Path')",true);
|
||||
pages[ 22 ] = new Array();
|
||||
pages[ 22 ][ 0 ] = new page( "error.htm", null, null );
|
||||
pages[ 22 ][ 1 ] = new method( "1step.htm", "parent.content.go( 'firstDial' )", true );
|
||||
pages[ 22 ][ 2 ] = new method( "register.htm", "parent.content.go( 'New Path' )", true );
|
||||
pages[ 22 ][ 3 ] = new method( "connect2.htm", "parent.content.go( 'Existing Path' )", true );
|
||||
|
||||
pages[23]=new Array();
|
||||
pages[23][0]=new page("later.htm",null,null);
|
||||
|
|
|
@ -17,62 +17,64 @@
|
|||
*/
|
||||
<!-- to hide script contents from old browsers
|
||||
|
||||
|
||||
|
||||
function go(msg)
|
||||
function go( msg )
|
||||
{
|
||||
if (parent.parent.globals.document.vars.editMode.value != "yes")
|
||||
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
|
||||
{
|
||||
if ( msg == "firstDial" )
|
||||
{
|
||||
if (msg == parent.parent.globals.document.vars.path.value) {
|
||||
parent.parent.globals.document.vars.tryAgain.value = "yes";
|
||||
return(checkData());
|
||||
if ( parent.parent.globals.document.vars.oneStepMode.value != "yes" )
|
||||
{
|
||||
parent.parent.globals.document.vars.tryAgain.value = "yes";
|
||||
return checkData();
|
||||
}
|
||||
return(false);
|
||||
}
|
||||
else {
|
||||
if (msg == parent.parent.globals.document.vars.path.value)
|
||||
alert("Sorry, you cannot connect while in using the Account Setup Editor.");
|
||||
return(false);
|
||||
if ( msg == parent.parent.globals.document.vars.path.value )
|
||||
{
|
||||
parent.parent.globals.document.vars.tryAgain.value = "yes";
|
||||
return checkData();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( msg == parent.parent.globals.document.vars.path.value )
|
||||
alert( "Sorry, you cannot connect while in using the Account Setup Editor." );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function checkData()
|
||||
{
|
||||
return(true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function showErrorLayer()
|
||||
{
|
||||
if (document.layers["IAS Mode"] && document.layers["NCI Mode"]) {
|
||||
if (parent.parent.globals.document.vars.path.value == "Existing Path") {
|
||||
document.layers["IAS Mode"].visibility = "hide";
|
||||
document.layers["NCI Mode"].visibility = "show";
|
||||
}
|
||||
else {
|
||||
document.layers["IAS Mode"].visibility = "show";
|
||||
document.layers["NCI Mode"].visibility = "hide";
|
||||
}
|
||||
if ( document.layers[ "IAS Mode" ] && document.layers[ "NCI Mode" ] )
|
||||
{
|
||||
if ( parent.parent.globals.document.vars.path.value == "Existing Path" )
|
||||
{
|
||||
document.layers[ "IAS Mode" ].visibility = "hide";
|
||||
document.layers[ "NCI Mode" ].visibility = "show";
|
||||
}
|
||||
else {
|
||||
setTimeout("showErrorLayer()",1000);
|
||||
else
|
||||
{
|
||||
document.layers[ "IAS Mode" ].visibility = "show";
|
||||
document.layers[ "NCI Mode" ].visibility = "hide";
|
||||
}
|
||||
}
|
||||
else
|
||||
setTimeout( "showErrorLayer()", 1000 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
function loadData()
|
||||
{
|
||||
setTimeout("showErrorLayer()",1000);
|
||||
if (parent.controls.generateControls) parent.controls.generateControls();
|
||||
setTimeout( "showErrorLayer()", 1000 );
|
||||
if ( parent.controls.generateControls )
|
||||
parent.controls.generateControls();
|
||||
}
|
||||
|
||||
|
||||
|
||||
function saveData()
|
||||
{
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче