[Koha-bugs] [Bug 24257] item-transfer-modal does not initiate transfer when 'yes, print slip' is selected
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 16:01:12 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24257
Lucas Gass <lucas at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #96406|0 |1
is obsolete| |
--- Comment #3 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 96422
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96422&action=edit
Bug 24257: Fix close of modal on 'Yes, print slip'
When a item-transfer-modal is prompted by returns.tt and the option
"Yes, print slip" is selected the transfer is not initiated and the
modal does not disappear.
The print_slip hidden input must be in the same form as the
submit/button .print, otherwise the browser logs
this.form.print_slip is undefined
Test plan:
1. set AutomaticItemReturn to "don't"
2. Check out an item and attempt to check it in at a branch it doesn't
belong to.
3. When the popup modal appears select 'Yes, print slip'.
=> Observe that the transfer does initiate and the modal closes
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list