Bug 9294: Followup : add missing lines.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-09-13 15:55:23 +02:00 committed by Galen Charlton
parent 249b37ef48
commit da9863f1a5

View file

@ -133,7 +133,9 @@ function validate1(date) {
// prevent adjacent checkboxes from being checked simultaneously
function radioCheckBox(box){
if($(this).attr("checked")){
$(this).removeAttr("checked");
}
box.parents("td").siblings().find("input:checkbox:visible").each(function(){
if($(this).attr("checked")){
$(this).removeAttr("checked");
}
});
}