[Koha-bugs] [Bug 17566] Change initial focus in item editor depending on last action

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 14:34:51 CET 2016


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

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 57257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57257&action=edit
Bug 17566: Change initial focus in item editor depending on last action

If you have saved an existing item or added a new one, it would be nice to
have the focus in the search box. In other cases, at the start of adding or
editing an item, it would be good to have focus in the item fields already.

This patch sets the focus in the second case on the first item input field,
since focus on the first select (combo box) does not show up.

Test plan:
[1] From staff detail view, click Edit items in the menu. Focus should go
    to item fields.
[2] Save this new item. Focus on search box?
[3] Click to edit this item. Focus on item fields?
[4] Save again. Focus on search box again?
[5] Delete this item. Focus on search box again?

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


More information about the Koha-bugs mailing list