applied patch from Christian Mangold

[ 1021108 ] minor bugfix in mainscreen.tpl
This commit is contained in:
Lars Kneschke 2004-09-17 19:13:59 +00:00
parent 0805bf61f8
commit a4893b4b1d

View File

@ -50,10 +50,17 @@ doLoad();
checkedCounter = 0; checkedCounter = 0;
} }
//alert(document.forms["messageList"].elements['msg[]'][10].checked); //alert(document.forms["messageList"].elements['msg[]'][10].checked);
if (document.forms["messageList"].elements['msg[]'].constructor == '[NodeList]')
{
for (var i = 0; i < document.forms["messageList"].elements['msg[]'].length; i++) for (var i = 0; i < document.forms["messageList"].elements['msg[]'].length; i++)
{ {
document.forms["messageList"].elements['msg[]'][i].checked = value; document.forms["messageList"].elements['msg[]'][i].checked = value;
} }
}
else
{
document.forms["messageList"].elements['msg[]'].checked = value;
}
folderFunctions = document.getElementById('folderFunction'); folderFunctions = document.getElementById('folderFunction');
if(inputBox.checked) if(inputBox.checked)
{ {