From fe81b50dc32703c503d3c5efa07e06a4c689c55c Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Mon, 11 Jun 2018 14:11:51 +0000 Subject: [PATCH] Bug 17656: predication table - check all issues with same data-dow --- koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js b/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js index 1efab8a..6ab01c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js +++ b/koha-tmpl/intranet-tmpl/prog/js/showpredictionpattern.js @@ -2,14 +2,13 @@ function Check_boxes(dow) { if($(":checkbox[data-dow='"+dow+"']:first").is(':checked')) { $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){ $(this).prop('checked', true); - return false; }); } else { $("#predictionst :checkbox[data-dow='"+dow+"']").each(function(){ $(this).prop('checked', false); - return false; }); } + return false; } function Check_permanent_irregularities() { nothing_checked = 1; -- 2.7.4