Koha/koha-tmpl/intranet-tmpl/prog
Owen Leonard 73a541e19c Bug 28079: Set focus to search box field when adding an order to basket
This patch modifies the "Add to basket" modal in acquisitions so that
focus is automatically moved to the first form field when the modal
appears.

The patch also corrects the modal markup so that it's more consistent
with default Bootstrap markup.

To test, apply the patch and go to Acquisitions.

- Search for a vendor and, if necessary, create a basket.
- Click the "Add to basket" button. The modal which appears should
  have a header reading "Add order to basket <basketname>"
- The form field should have cursor focus.
- View the basket and click the "Add to basket" button in the toolbar.
- The modal shown should also be correct.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-21 10:21:50 +02:00
..
css Bug 28978: Compiled CSS 2021-10-12 11:16:39 +02:00
en Bug 28079: Set focus to search box field when adding an order to basket 2021-10-21 10:21:50 +02:00
img Bug 28321: Use template block for display of items in search results 2021-10-05 10:58:13 +02:00
js Bug 29240: Centralise from/to handling 2021-10-19 09:50:08 +02:00
pdf
sound