зеркало из https://github.com/mozilla/gecko-dev.git
Get rid of some debugging code that shouldn't have been there to begin with.
This commit is contained in:
Родитель
ee875eb6ea
Коммит
7d7d90be2d
|
@ -90,17 +90,6 @@ function ListFields() {
|
|||
}
|
||||
}
|
||||
|
||||
function BoxClick( item)
|
||||
{
|
||||
body = document.getElementById("fieldBody");
|
||||
try {
|
||||
dump( "Value: " + body.childNodes[item].firstChild.firstChild.firstChild.checked + "\n");
|
||||
}
|
||||
catch( ex) {}
|
||||
|
||||
return( true);
|
||||
}
|
||||
|
||||
|
||||
function CreateField( name, index, on, cBoxIndex)
|
||||
{
|
||||
|
@ -115,7 +104,7 @@ function CreateField( name, index, on, cBoxIndex)
|
|||
cBox.setAttribute( 'type', "checkbox");
|
||||
if (on == true)
|
||||
cBox.setAttribute( 'checked', "true");
|
||||
cBox.onclick = new Function( "return BoxClick( " + cBoxIndex + ")");
|
||||
// cBox.onclick = new Function( "return BoxClick( " + cBoxIndex + ")");
|
||||
|
||||
cCell.appendChild( cBox);
|
||||
cCell.setAttribute( 'allowevents', "true");
|
||||
|
|
Загрузка…
Ссылка в новой задаче