Bugzilla – Attachment 74447 Details for
Bug 9302
Add ability to merge patron records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9302: Make the patron search show/hide more links work
Bug-9302-Make-the-patron-search-showhide-more-link.patch (text/plain), 2.07 KB, created by
Kyle M Hall (khall)
on 2018-04-18 15:28:23 UTC
(
hide
)
Description:
Bug 9302: Make the patron search show/hide more links work
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-04-18 15:28:23 UTC
Size:
2.07 KB
patch
obsolete
>From 48c69201f5911ff0d5edeec5495bc2ecbc113c1e Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatetsolutions.com> >Date: Wed, 18 Apr 2018 11:06:39 -0400 >Subject: [PATCH] Bug 9302: Make the patron search show/hide more links work > >--- > .../prog/en/modules/members/merge-patrons.tt | 35 ++++++++++++---------- > 1 file changed, 20 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >index 354ffbf555..8eef1c1f6e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt >@@ -1,25 +1,12 @@ >+[% USE Asset %] > [% USE Branches %] > [% USE Categories %] > [% USE KohaDates %] >+[% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Patrons › Merge patron records</title> > [% INCLUDE 'doc-head-close.inc' %] > >-<script type="text/javascript"> >-//<![CDATA[ >-$(document).ready(function() { >- $('#merge-patrons').prop('disabled', true); >- $('#patron-merge-table').on('change', 'input', function() { >- if ( $('.keeper:checked').length > 0 ) { >- $('#merge-patrons').prop('disabled', false); >- } else { >- $('#merge-patrons').prop('disabled', true); >- } >- }); >-}); >-//]]> >-</script> >- > </head> > <body id="pat_merge" class="pat"> > [% INCLUDE 'header.inc' %] >@@ -133,4 +120,22 @@ $(document).ready(function() { > [% END %] > </div> > </div> >+ >+[% MACRO jsinclude BLOCK %] >+ [% Asset.js("js/members-menu.js") %] >+ >+ <script> >+ $(document).ready(function() { >+ $('#merge-patrons').prop('disabled', true); >+ $('#patron-merge-table').on('change', 'input', function() { >+ if ( $('.keeper:checked').length > 0 ) { >+ $('#merge-patrons').prop('disabled', false); >+ } else { >+ $('#merge-patrons').prop('disabled', true); >+ } >+ }); >+ }); >+ </script> >+[% END %] >+ > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.15.1 (Apple Git-101)
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 9302
:
66615
|
66617
|
68606
|
70474
|
70477
|
70478
|
70479
|
70482
|
70483
|
72082
|
72083
|
73645
|
73646
|
73647
|
73648
|
73649
|
73660
|
73661
|
73662
|
73663
|
73664
|
73668
|
73679
|
74439
|
74440
|
74441
|
74442
|
74443
|
74444
|
74445
|
74446
| 74447 |
74448
|
74449
|
74450
|
74451
|
74585
|
74653