[Koha-bugs] [Bug 7469] Focus on 1st field of creation form instead of search textbox

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 13 12:37:18 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469

Jonathan Druart <jonathan.druart at biblibre.com> changed:

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

--- Comment #4 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 21078
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21078&action=edit
Bug 7469 - Focus on 1st field of creation form instead of search textbox
(Acquisition)

When a user creates a new vendor, a new borrower or a new basket (maybe on
others pages too, to be listed), a creation form is displayed, but the focus is
still on the search textbox on page top.
It would be probably better to switch the focus to the first field of the
creation form.

This patch adds the focus, for acquisition module, on first input for pages
with a data creation or modification or pages with only one form (like Z3950
search).

Test plan :
Go to pages and look where is the focus :
- acqui/basketgroup.pl : focus on "Basket group name:"
- acqui/basketheader.pl : focus on "Basket name:"
- acqui/invoices.tt : focus on "Invoice no:"
- acqui/modordernotes.pl : focus on "Notes:"
- acqui/neworderempty.pl : focus on "Title:"
- acqui/supplier.pl : focus on "Name:"
- acqui/z3950_search.pl : focus on "Title:"

Signed-off-by: Melia Meggs <melia at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
The focus choice is relevant and works as described.

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


More information about the Koha-bugs mailing list