[Koha-bugs] [Bug 31413] Set focus for cursor to Selector when adding a new audio alert

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 6 14:14:56 CET 2023


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 146266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146266&action=edit
Bug 31413: Set focus for cursor to Selector when adding a new audio alert

This patch adds a step to the process of displaying the new audio alert
form so that focus will be set to the first field when the form has
finished appearing. The typical "focus" class only works on elements
which are present in the initial DOM when the page is displayed.

To test, apply the patch and go to Administration -> Audio alerts.

Click the "New alert" button. When the form appears cursor focus should
be on the "Selector" field.

Also test the edit process: When editing an existing alert there should
not be automatic cursor focus.

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


More information about the Koha-bugs mailing list