From da9863f1a5225d3af7daac1e4874e42fbd7dd369 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Sep 2013 15:55:23 +0200 Subject: [PATCH] Bug 9294: Followup : add missing lines. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js b/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js index 80e61ca9d1..68c4651020 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js @@ -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"); + } + }); } -- 2.39.5