Bugzilla – Attachment 48729 Details for
Bug 15965
Koha to MARC mapping - table changes with selection of drop down menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15965: Koha to MARC mapping - table changes with selection of drop down menu
Bug-15965-Koha-to-MARC-mapping---table-changes-wit.patch (text/plain), 2.05 KB, created by
Jonathan Druart
on 2016-03-07 10:07:48 UTC
(
hide
)
Description:
Bug 15965: Koha to MARC mapping - table changes with selection of drop down menu
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-07 10:07:48 UTC
Size:
2.05 KB
patch
obsolete
>From 69c1a0c0b29f15a3210a7ffa16f8a13b00349c20 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 3 Mar 2016 02:20:47 +0000 >Subject: [PATCH] Bug 15965: Koha to MARC mapping - table changes with > selection of drop down menu >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >EDIT: Removing JS line > >To test: > >1) Go to Admin -> Koha to MARC Mapping >2) Test selecting biblio / biblioitems / items >3) Confirm the table content changes and behaves as it should which each > selection > >Sponsored-by: Catalyst IT >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt >index b8f0a0c..d328172 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt >@@ -4,7 +4,17 @@ > [% IF ( else ) %]Koha to MARC mapping [% tagfield %][% END %]</title> > > [% INCLUDE 'doc-head-close.inc' %] >+<script type="text/javascript"> >+//<![CDATA[ >+$(document).ready(function() { >+ $('#tablename').change(function() { >+ $('#koha2marc').submit(); >+ }); >+}); >+//]]> >+</script> > </head> >+ > <body id="admin_koha2marclinks" class="admin"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] >@@ -70,7 +80,7 @@ > [% IF ( else ) %] > > <h1>Koha to MARC mapping [% tagfield %]</h1> >-<form action="[% script_name %]" method="post"> >+<form action="[% script_name %]" method="post" id="koha2marc"> > <p> > <select name="tablename" id="tablename" size="1"> > [% FOREACH value IN tablename.values %] >@@ -81,7 +91,6 @@ > [% END %] > [% END %] > </select> >- <input type="submit" value="OK" /> > </p> > </form> > <table> >-- >2.7.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 15965
:
48569
|
48709
|
48723
| 48729 |
48730