[Koha-patches] [PATCH 5/6] 5575 fix for comment 11
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Wed Jan 19 21:05:35 CET 2011
From: Paul Poulain <paul.poulain at biblibre.com>
On the circulation page, clicking the "Override renewal limit" checkbox doesn't
display the renew checkboxes. Only after clicking it again (unchecking it) do
the renew checkboxes appear.
---
.../prog/en/modules/circ/circulation.tmpl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
index 9b2000d..bed7547 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
@@ -49,9 +49,9 @@ function Dopop(link) {
<!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
$( '#override_limit' ).click( function () {
if ( this.checked ) {
- $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
- } else {
$( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
+ } else {
+ $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
}
} ).attr( 'checked', false );
<!-- /TMPL_IF -->
--
1.7.1
More information about the Koha-patches
mailing list