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 commitc7339799ff) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> (cherry picked from commit14ee2557da) Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
e491ba33c8
commit
706ab6c926
|
|
@ -37,6 +37,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