Bug 7088: (follow-up) Fix renewal limit bug
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Tue, 13 Nov 2018 13:57:57 +0000 (13:57 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 9 May 2019 14:40:49 +0000 (14:40 +0000)
There was a bug in that altering the state of the "Override renewal
limit" checkbox was altering the appearance of the per-item "On hold"
checkbox. This is incorrect, the "Override renewal limit" checkbox is
unconnected with this bug.

Sponsored-by: Cheshire Libraries Shared Services
Sponsored-by: Halton Borough Council
Sponsored-by: Sefton Council

Signed-off-by: Andrew Farthing <Andrew.Farthing@sefton.gov.uk>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/js/checkouts.js

index 4ca568c..7750ceb 100644 (file)
@@ -413,7 +413,6 @@ $(document).ready(function() {
                                     + "</span>";
 
                             span_style = AllowRenewalLimitOverride ? "" : "display: none";
-                            span_class = "renewals-allowed";
                         } else if ( oObj.can_renew_error == "too_many" ) {
                             msg += "<span class='renewals-disabled'>"
                                     + NOT_RENEWABLE