Bug 9294: Followup : add missing lines.
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 13 Sep 2013 13:55:23 +0000 (15:55 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 18 Sep 2013 16:14:24 +0000 (16:14 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js

index 80e61ca..68c4651 100644 (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");
+        }
+    });
  }