Bugzilla – Attachment 46086 Details for
Bug 15442
Checkouts table will not display due to javascript error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15442 - Checkouts table will not display due to javascript error
Bug-15442---Checkouts-table-will-not-display-due-t.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2015-12-30 15:04:09 UTC
(
hide
)
Description:
Bug 15442 - Checkouts table will not display due to javascript error
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-30 15:04:09 UTC
Size:
1.38 KB
patch
obsolete
>From 0c1e90f5742114000334b6cf869a40867d6d43f4 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 30 Dec 2015 14:26:35 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 4da74d8..7c5573a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -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 %] >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15442
:
46084
| 46086 |
46264