fix for checkbox in wallet dialogs having label "check", r=alecf

This commit is contained in:
ben%netscape.com 2000-01-31 21:49:31 +00:00
parent 238e7f58c7
commit 3e08a6366c

View File

@ -120,9 +120,8 @@ function commonDialogOnLoad()
var checkMsg = param.GetString( 1 );
if ( checkMsg != "" )
{
var prompt = (document.getElementById("checkboxLabel"));
if ( prompt )
prompt.childNodes[1].nodeValue = checkMsg;
var checkMsgElement = document.getElementById("checkboxLabel");
SetElementText( "checkboxLabel", checkMsg );
var checkValue = param.GetInt( 1 );
var element=document.getElementById("checkbox" );
var checkbool = checkValue > 0 ? true : false;