Bug 15442 - Checkouts table will not display due to javascript error
Uncaught ReferenceError: AllowCirculate is not defined
Test Plan:
1) Go to circulation.pl for a patron, note the checkouts table
does not load
2) Apply this patch
3) Reload the page, checkouts table should show
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c7339799ff)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
c993e45a26
commit
14ee2557da
|
|
@ -38,6 +38,7 @@ var borrowernumber = "[% borrowernumber %]";
|
|||
var branchcode = "[% branch %]";
|
||||
var exports_enabled = "[% exports_enabled %]";
|
||||
var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && AllowRenewalLimitOverride)? 1: 0 %];
|
||||
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %];
|
||||
var script = "circulation";
|
||||
var relatives_borrowernumbers = new Array();
|
||||
[% FOREACH b IN relatives_borrowernumbers %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue