Bugzilla – Attachment 61424 Details for
Bug 17014
Remove more event attributes from patron templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17014: Simplify some code
Bug-17014-Simplify-some-code.patch (text/plain), 1.82 KB, created by
Jonathan Druart
on 2017-03-21 19:56:14 UTC
(
hide
)
Description:
Bug 17014: Simplify some code
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-03-21 19:56:14 UTC
Size:
1.82 KB
patch
obsolete
>From 7e1e609b1fce0cda1d2edd082f36d7f485d45852 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 21 Mar 2017 16:55:37 -0300 >Subject: [PATCH] Bug 17014: Simplify some code > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 7 +------ > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 +--- > 2 files changed, 2 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >index 6cda5d1..8fc1f68 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -4,12 +4,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript"> > //<![CDATA[ >- var type_fees = new Array(); >- type_fees['L'] = ''; >- type_fees['F'] = ''; >- type_fees['A'] = ''; >- type_fees['N'] = ''; >- type_fees['M'] = ''; >+ var type_fees = {'L':'','F':'','A':'','N':'','M':''}; > [% FOREACH invoice_types_loo IN invoice_types_loop %] > type_fees['[% invoice_types_loo.authorised_value %]'] = "[% invoice_types_loo.lib %]"; > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index 7d5e7e3..bea3ba6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -109,9 +109,7 @@ $(document).ready(function() { > e.preventDefault(); > clearFilters(true); > }); >- $("#searchform").on("submit",function(){ >- return filter(); >- }); >+ $("#searchform").on("submit", filter); > }); > > var dtMemberResults; >-- >2.9.3
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 17014
:
53860
|
61382
|
61423
| 61424