mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
fix for checkbox in wallet dialogs having label "check", r=alecf
This commit is contained in:
parent
238e7f58c7
commit
3e08a6366c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user