Lp 1752968: Select content when focusing on the barcode field. user/dyrcona/lp1752968-add-volumes-cursor-focus_signoff
authorJason Stephenson <jason@sigio.com>
Tue, 18 Dec 2018 14:26:11 +0000 (09:26 -0500)
committerJason Stephenson <jason@sigio.com>
Tue, 18 Dec 2018 18:23:47 +0000 (13:23 -0500)
commit3dcf4e2e8427f286ae1dfa8cc15a2a9620e43aae
tree863fa88c74f7bc64b091c174ac0dc39c3cf404ef
parent90731e3933962d224416a0e495fe4f59fd879be2
Lp 1752968: Select content when focusing on the barcode field.

To reproduce the reported behavior:

 1. Find a title in the staff client catalog.
 2. Click on Add Holdings.
 3. See that the Barcode field does not have cursor focus.
 4. Repeat step 1.
 5. Click on edit next to one of the barcoded items in the list of
    holdings.
 6. Click Show Holdings Details and see that the Barcode field does
     not have focus and the content is not selected.

To test this branch:

 1. Find a title in the staff client catalog.
 2. Click on Add Holdings.
 3. See that the Barcode field has cursor focus, i.e. the cursor is in
    the field and blinking.
 4. Repeat step 1.
 5. Click on edit next to one of the barcoded items in the list of
    holdings.
 6. Click Show Holdings Details and see that the Barcode field has
     cursor focus and the content is selected/highlighted.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js