Bugzilla – Attachment 151824 Details for
Bug 33864
Problems in order receive modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33864: Trigger the 'change' event when setting quantity
Bug-33864-Trigger-the-change-event-when-setting-qu.patch (text/plain), 1.53 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-05-30 19:13:27 UTC
(
hide
)
Description:
Bug 33864: Trigger the 'change' event when setting quantity
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-05-30 19:13:27 UTC
Size:
1.53 KB
patch
obsolete
>From 76689649bcc581284ff9017174ea198e7626cbfb Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 30 May 2023 16:13:00 -0300 >Subject: [PATCH] Bug 33864: Trigger the 'change' event when setting quantity > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 05a18563894..4dca002ae45 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -1159,7 +1159,8 @@ > $("#creator").html([row.creator.surname, row.creator.firstname].filter(function(name){return name}).join(', ')+" ("+row.creator.patron_id+')') > $("#quantity_to_receive").val(row.quantity).prop('readonly', !row.subscription_id); > $("#quantity").val( effective_create_items == 'cataloguing' ? row.quantity_received || 1 : row.quantity_received ) >- .prop('readonly', !row.subscription_id && effective_create_items == 'receiving'); >+ .prop('readonly', !row.subscription_id && effective_create_items == 'receiving') >+ .change(); > [% IF only_one_order %] > $(".modal-save").prop('disabled', $("#quantity").val() == 0); > [% 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 33864
:
151799
|
151803
|
151811
|
151812
|
151813
|
151816
|
151821
|
151824
|
151852
|
151853
|
151854
|
151855
|
151856
|
151857
|
151858
|
151859