Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv
tables
acqui-home.tt
addorder.tt
addorderiso2709.tt Bug 28579: Typo: No record have been imported because they all match an existing record in your catalog. 2021-10-12 11:15:32 +02:00
ajax.tt
basket.tt Bug 28079: Set focus to search box field when adding an order to basket 2021-10-21 10:21:50 +02:00
basketgroup.tt
basketheader.tt
booksellers.tt Bug 28079: Set focus to search box field when adding an order to basket 2021-10-21 10:21:50 +02:00
cancelorder.tt
duplicate_orders.tt
edi_ean.tt
edifactmsgs.tt
edimsg.tt
histsearch.tt
invoice-files.tt
invoice.tt
invoices.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
lateorders.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
modordernotes.tt
neworderempty.tt
neworderempty_duplicate.tt
newordersubscription.tt
newordersuggestion.tt
ordered.tt
orderreceive.tt Bug 28956: Correct default tax rate on orderreceive 2021-10-12 11:15:42 +02:00
parcel.tt
parcels.tt
showorder.tt
spent.tt
supplier.tt
transferorder.tt
uncertainprice.tt
z3950_search.tt