LP1898775: Add basket to bucket in bootstrap
authorJane Sandberg <sandbergja@gmail.com>
Wed, 12 Oct 2022 23:38:20 +0000 (16:38 -0700)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 17 Oct 2022 20:18:14 +0000 (16:18 -0400)
commit62a0a9e2accefca281404d7ade0f92dd71bfc08c
tree9fad27f62691ee154d09d29fa203b2e145bdb29b
parent4fb68e6568f565dda8befe4e7fc570c5f9f6f78c
LP1898775: Add basket to bucket in bootstrap

The bootstrap OPAC uses links, rather than <select> for the basket dropdown, so the
existing event listener couldn't get attached to the correct element.

To test:
1. Confirm that you are using the bootstrap OPAC.
2. In the staff client, select the traditional staff catalog.
3. Add several items to your basket.
4. Click the basket icon, and select 'Add Basket to Bucket'
5. Note that you get a 404 error.
6. Apply this patch.
7. Repeat steps 1-3.
8. Note that you can now select a bucket, and that the process completes successfully.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js