From 18e805406a22de4cb32292da40db5fae3845eab9 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Fri, 14 Oct 2016 07:56:03 +0000 Subject: [PATCH] Bug 15565: Alert librarian that maximum holds per record is reached MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dani Elder Signed-off-by: Danielle Elder Signed-off-by: Séverine QUEUNE Signed-off-by: Séverine QUEUNE --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 9912dbc..49e9a1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -154,7 +154,7 @@ function checkMultiHold() { numchecked = 0; $("input[name=checkitem]").each(function() { if(this.checked){ - numchecked = 1; + numchecked++; } }); if(numchecked > 0){ -- 2.7.4