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>
*** This bug has been marked as a duplicate of bug 37524 ***