From b9c2347f9f635b2e0f93ff7334a7c8838738a4bf Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 13 Apr 2016 10:31:05 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 16238: QA fix: remove tab characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Signed-off-by: Marc VĂ©ron Signed-off-by: Owen Leonard --- .../prog/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 b4405b1..953b9ef 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 2ae8d17..263b576 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -149,26 +149,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.1.4