Bug 11325: Focus not on "Add Item" in Lists
commit78d83e06410739bf731cccee30c6cec446196609
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 16 Jun 2015 07:40:41 +0000 (16 09:40 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Tue, 11 Aug 2015 16:05:17 +0000 (11 13:05 -0300)
treebb8b7c6be067e125c5338ba7db58efd9d9dec6ef
parent8fa214bfa5cc0d46a3e34f4c09bb7635132b0b04
Bug 11325: Focus not on "Add Item" in Lists

When viewing a list, the focus/cursor is no longer on the "add items" field below the list.

This patch moves the "Add Item" form at left part of page so that it is always shown (usefull when there are a lot of items). And adds focus to barcode input so you can enter several items with a barcode scanner.

Test instructions:
1. Create a list
2. Make sure you have an object with an assigned barcode
3. Go to the list
=> The barcode entry interface should be at left and has the focus
4. Enter the barcode and press enter (or use a scanner)
=> The item is added to the list

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
I like the new position.
Works well, focus on input box
No errors

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt