Bugzilla – Attachment 141033 Details for
Bug 31579
Improve reserve/request.pl to avoid mistakes with pick up locations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31579: Improve reserve/request.pl to avoid mistakes with pick up locations
Bug-31579-Improve-reserverequestpl-to-avoid-mistak.patch (text/plain), 2.07 KB, created by
geraud.frappier
on 2022-09-27 14:55:10 UTC
(
hide
)
Description:
Bug 31579: Improve reserve/request.pl to avoid mistakes with pick up locations
Filename:
MIME Type:
Creator:
geraud.frappier
Created:
2022-09-27 14:55:10 UTC
Size:
2.07 KB
patch
obsolete
>From 215b65523ffecf48be1c93ba556e99419e9e1e56 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=A9raud=20Frappier?= <geraud.frappier@inlibro.com> >Date: Tue, 27 Sep 2022 10:32:10 -0400 >Subject: [PATCH] Bug 31579: Improve reserve/request.pl to avoid mistakes with > pick up locations > >Remove white space and unnecessary comments. >--- > .../prog/en/modules/reserve/request.tt | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index ed1fe9223a..322d61b5b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -1256,6 +1256,7 @@ > }, > [% END %][% END %][% END %] > }; >+ > var ERROR_MAP = { > damaged: _("Item damaged"), > ageRestricted: _("Age restricted"), >@@ -1303,19 +1304,19 @@ > $("#holds_to_place_count").prop('disabled', true); > } > } >+ > ToggleHoldsToPlace(); > $("#requestany").on('change', function(){ > ToggleHoldsToPlace(); > }); > > [% IF Koha.Preference('UseBranchTransferLimits') %] >- $("#pickup").on('change', function(){ >- $(".pickup_locations option:selected").text('Le nouveau texte à afficher'); >- var pickup = $("#pickup").val(); >- var url = "?pickup=" + pickup; >- url += "&borrowernumber=" + borrowernumber; >- url += "&biblionumber=" + biblionumbers[0]; >- window.location.replace(url); >+ $("#pickup").on('change', function(){ >+ var pickup = $("#pickup").val(); >+ var url = "?pickup=" + pickup; >+ url += "&borrowernumber=" + borrowernumber; >+ url += "&biblionumber=" + biblionumbers[0]; >+ window.location.replace(url); > }); > [% END %] > >-- >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 31579
:
140907
|
140917
|
140997
|
141007
|
141033
|
144634
|
154550
|
158100
|
158104