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:15:47 +0000 (16:15 -0400)
commite23a9e6b13a6ffa1d052b8aea8f5981ba6f08552
tree7d05548b0b9fb2733c0c22456ee5bd1ddd803290
parent6507887863beae706f864f9cfba2d118b127e404
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