Bugzilla – Attachment 48730 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]
t rebase# Attachment to Bug 15965 - Koha to MARC mapping - table changes with selection of drop down menu
Bug-15965-Select-default-value-biblio-if-needed.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2016-03-07 10:07:56 UTC
(
hide
)
Description:
t rebase# Attachment to 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:56 UTC
Size:
1.18 KB
patch
obsolete
>From 2a164d1b46f56c40da8bde2856c13925e0225e0c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 Mar 2016 10:05:36 +0000 >Subject: [PATCH] Bug 15965: Select default value ('biblio') if needed > >It will prevent wrong value to be selected when the back button of the >browser is used. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >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 d328172..8e259d2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt >@@ -7,8 +7,11 @@ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >+ [% IF tablename.default == 'biblio' %] >+ $("#tablename option:first").attr('selected','selected'); >+ [% END %] > $('#tablename').change(function() { >- $('#koha2marc').submit(); >+ $('#koha2marc').submit(); > }); > }); > //]]> >-- >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