diff --git a/cmd/dialup/as_html/2step.js b/cmd/dialup/as_html/2step.js index e31154d29dc..d01d2143bea 100644 --- a/cmd/dialup/as_html/2step.js +++ b/cmd/dialup/as_html/2step.js @@ -82,9 +82,13 @@ function checkData() ispSupportName = globals.getSelectedISPName(); if ( ispSupportNumber != null && ispSupportNumber != "" ) + { + // * close before write will force the document to clear + globals.supportWindow.document.close(); globals.supportWindow.document.writeln( "

For problems, please call " + ispSupportName + " at " + ispSupportNumber + "

" ); - + } + return true; } else @@ -102,12 +106,6 @@ function insertISPName() function loadData() { - //parent.twostepfooter.document.writeln( "" ); - //parent.twostepfooter.document.writeln( "

If you have trouble setting up your account call " ); - //parent.twostepfooter.document.writeln( globals.getSelectedISPName() ); - //parent.twostepfooter.document.writeln( "at (support number).

" ); - //parent.twostepfooter.document.close(); - if ( controls.generateControls ) controls.generateControls(); }