Summary: | Unwanted form submission on RenewAll button | ||
---|---|---|---|
Product: | Koha | Reporter: | Peter Vashchuk <stalkernoid> |
Component: | Circulation | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | emily.lamancusa, gmcharlt, kyle.m.hall, ovezina |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 37880: Fix unwanted form submission on RenewAll button
Bug 37880: Fix unwanted form submission on RenewAll button |
Description
Peter Vashchuk
2024-09-10 09:58:23 UTC
Created attachment 171245 [details] [review] Bug 37880: Fix unwanted form submission on RenewAll button Currently when there's 0 renewable items and you press RenewAll button, js does pointless form submission. Steps to reproduce: 1. Have a patron with one or more holds that shouldn't be possible to renew. 2. Press RenewAll button. 3. Apply the patch. 4. Repeat step 2 but this time you should get "There is no items to renew." alert. Created attachment 171458 [details] [review] Bug 37880: Fix unwanted form submission on RenewAll button Currently when there's 0 renewable items and you press RenewAll button, js does pointless form submission. Steps to reproduce: 1. Have a patron with one or more holds that shouldn't be possible to renew. 2. Press RenewAll button. 3. Apply the patch. 4. Repeat step 2 but this time you should get "There is no items to renew." alert. Signed-off-by: Olivier V <olivier.vezina@inLibro.com> |