Bug 27436: Set focus on first input when adding a new SQL report
When adding a new SQL report, the focus/cursor should be in the first input field of the form: Report name To test: * Add a new SQL report in reports > new from SQL - cursur is in no field * Apply patch * Add another new SQL report - cursor is now in the first input field of the form: Report name Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
392ee0ff81
commit
cc0efad411
|
|
@ -1208,7 +1208,7 @@
|
|||
[% IF ( reportname ) %]
|
||||
<input type="text" class="required" required="required" id="reportname" name="reportname" value="[% reportname | html %]" size="50"/>
|
||||
[% ELSE %]
|
||||
<input type="text" class="required" required="required" id="reportname" name="reportname" size="50" />
|
||||
<input type="text" class="required focus" required="required" id="reportname" name="reportname" size="50" />
|
||||
[% END %]
|
||||
<span class="required">Required</span>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue