From 1c9b9e3e0e1eb3235b20d95afbe5d26b8279a2c2 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 13 Apr 2016 10:31:05 +0200 Subject: [PATCH] Bug 16238: QA fix: remove tab characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc Véron Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../en/includes/messaging-preference-form.inc | 28 +++++++------- .../prog/en/modules/reserve/request.tt | 38 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc index b4405b1f60..953b9ef388 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc @@ -1,20 +1,20 @@ [% USE Koha %] 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 c91d58f1f0..6a2f6696d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -150,26 +150,26 @@ function checkMultiHold() { $("input.warning").click(function() { return confirm( _("None of these items can normally be put on hold for this patron.") + "\n\n" + _("Place hold?") ); }); - $("#requestany").click(function() { - if(this.checked){ - $("input[name=checkitem]").each(function() { - $(this).prop("checked", false); - }); - } - }); - $("input[name=checkitem]").click(function() { - onechecked = 0; - $("input[name=checkitem]").each(function() { - if(this.checked){ - onechecked = 1; - } - }); - if(onechecked == 1){ + $("#requestany").click(function() { + if(this.checked){ + $("input[name=checkitem]").each(function() { + $(this).prop("checked", false); + }); + } + }); + $("input[name=checkitem]").click(function() { + onechecked = 0; + $("input[name=checkitem]").each(function() { + if(this.checked){ + onechecked = 1; + } + }); + if(onechecked == 1){ $("#requestany").prop("checked", false); - } else { - $("#requestany").prop("checked",true); - } - }); + } else { + $("#requestany").prop("checked",true); + } + }); $(".clear-date").on("click",function(e){ e.preventDefault(); -- 2.39.5