From 328fd078ac4697445cd5c2674e48a28a2064e9a6 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 Signed-off-by: Kyle M Hall Signed-off-by: Benjamin Rokseth --- 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 bc52fdd..78eaf24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -155,7 +155,7 @@ function checkMultiHold() { numchecked = 0; $("input[name=checkitem]").each(function() { if(this.checked){ - numchecked = 1; + numchecked++; } }); if(numchecked > 0){ -- 2.1.4