Bugzilla – Attachment 174836 Details for
Bug 38437
Modal does not appear on single order receive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38437: Auto-show modal on single receive
Bug-38437-Auto-show-modal-on-single-receive.patch (text/plain), 1.86 KB, created by
Biblibre Sandboxes
on 2024-11-20 12:28:49 UTC
(
hide
)
Description:
Bug 38437: Auto-show modal on single receive
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2024-11-20 12:28:49 UTC
Size:
1.86 KB
patch
obsolete
>From c9b4a90e9865afb218be18e1376964cb5c6070dc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Nov 2024 11:51:59 +0100 >Subject: [PATCH] Bug 38437: Auto-show modal on single receive > >Might have been broken by the bootstrap 5 upgrade, but not sure. >Not sure why the click does not trigger the modal. > >1. Place an order in acquisitions > 1.1. Go to Acquisitions > 1.2. Click 'Search' next to 'Search vendors' > 1.3. Click 'Add to basket' next to 'My basket' > 1.4. Search for an existing record (e.g. search for Shakespeare) > 1.5. Click 'Add order' next to a result or in the detailed record > 1.6. In the item form, choose an item type > 1.7. Click 'Add item' > 1.8. Choose a fund > 1.9. Enter a price in 'Vendor price' > 1.10. Click 'Save' > 1.11. Click 'Close basket' > 1.12. Click 'Yes, close' >2. Receive the order > 2.1. Click 'Receive shipments' > 2.2. Enter a value in 'Vendor invoice' > 2.3. Click 'Next' > 2.4. Click 'Receive' next to your order > => The modal is shown > >Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- > 1 file changed, 1 insertion(+), 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 6172314ccc..4ac0cbc33c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -653,7 +653,7 @@ > ], > [% IF only_one_order %] > "drawCallback": function( settings ) { >- $(this).find("tbody tr td:last-child a.order_edit_toggle").click(); >+ $("#order_edit").modal("show"); > }, > [% END %] > }; >-- >2.39.5
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 38437
:
174833
|
174836
|
174838
|
174850