Bugzilla – Attachment 177038 Details for
Bug 38713
Incorrect HTML structures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38713: serials/routing.tt
Bug-38713-serialsroutingtt.patch (text/plain), 2.61 KB, created by
Jonathan Druart
on 2025-01-23 14:53:37 UTC
(
hide
)
Description:
Bug 38713: serials/routing.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-23 14:53:37 UTC
Size:
2.61 KB
patch
obsolete
>From 6e24ba435ff2d4a278514ef674f7be4158925ee6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 Jan 2025 12:27:11 +0100 >Subject: [PATCH] Bug 38713: serials/routing.tt > >Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../prog/en/modules/serials/routing.tt | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >index ca9572fb3d7..11133ebc1fe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -55,7 +55,7 @@ > > <fieldset class="rows"> > <ol> >- <li><label for="date_selected">Issue: </label> >+ <li><label for="date_selected_top">Issue: </label> > <select name="date_selected_top" id="date_selected_top" class="date_selected_top"> > [% FOREACH date IN dates %] > [% IF ( date.selected ) %] >@@ -118,19 +118,21 @@ > </form> > </li> > >- <form method="post" action="routing.pl"> >+<li> >+ <form method="post" action="routing.pl" id="save_note_form"> > [% INCLUDE 'csrf-token.inc' %] > <input type="hidden" name="op" value="cud-save" /> > <input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" /> > <input type="hidden" id="date_selected" name="date_selected" value="" /> > >- <li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes | html %]</textarea></li> >- </ol> >+ <label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes | html %]</textarea> >+ </form> >+</li> >+</ol> > > > </fieldset> >-<fieldset class="action"><input type="submit" name="submit" class="btn btn-primary" value="Save" /></fieldset> >-</form> >+<fieldset class="action"><input type="submit" id="submit_save_note_form" name="submit" class="btn btn-primary" value="Save" /></fieldset> > > </main> > </div> <!-- /.col-md-10.order-md-2 --> >@@ -153,6 +155,11 @@ > $(".date_selected_top").on("change",function(){ > $("#date_selected").val( $(this).val() ); > }); >+ >+ $("#submit_save_note_form").on("click", function(e){ >+ e.preventDefault(); >+ return $("#save_note_form").submit(); >+ }); > }); > function reorder_item(sid,rid,rank){ > var mylocation = 'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank; >-- >2.34.1
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 38713
:
176973
|
176974
|
176975
|
176976
|
176977
|
176978
|
176979
|
176980
|
176981
|
176982
|
176983
|
176984
|
176985
|
176986
|
176987
|
176988
|
176989
|
176990
|
176991
|
176992
|
176993
|
176994
|
176995
|
176996
|
176997
|
176998
|
176999
|
177000
|
177001
|
177002
|
177003
|
177004
|
177005
|
177006
|
177007
|
177008
|
177009
|
177010
|
177011
|
177012
|
177013
|
177014
|
177015
|
177016
|
177017
|
177018
|
177019
|
177020
|
177021
|
177022
|
177023
|
177024
|
177025
|
177026
|
177027
|
177028
|
177029
|
177030
|
177031
|
177032
|
177033
|
177034
|
177035
|
177036
|
177037
| 177038 |
177039
|
177040
|
177041
|
177042
|
177043
|
177044
|
177045
|
177046
|
177047
|
177048
|
177049
|
177050
|
177051
|
177052
|
177053
|
177054
|
177055
|
177056
|
177057
|
177058
|
177059
|
177060