[Koha-bugs] [Bug 28079] Set focus to search box field when adding an order to basket

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 11 20:17:19 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28079

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 126049
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126049&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list