[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 21:41:50 CET 2016


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57259|0                           |1
        is obsolete|                            |

--- Comment #3 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 57281
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57281&action=edit
[SIGNED-OFF] 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?

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list