Bugzilla – Attachment 139419 Details for
Bug 27436
Set focus for cursor to report name field when creating new SQL report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27436: Set focus on first input when adding a new SQL report
Bug-27436-Set-focus-on-first-input-when-adding-a-n.patch (text/plain), 1.75 KB, created by
Katrin Fischer
on 2022-08-18 20:09:29 UTC
(
hide
)
Description:
Bug 27436: Set focus on first input when adding a new SQL report
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-18 20:09:29 UTC
Size:
1.75 KB
patch
obsolete
>From a76e8ea929857b711f3ec28e8f3b51e17283f767 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 18 Aug 2022 22:06:41 +0200 >Subject: [PATCH] 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 >--- > .../prog/en/modules/reports/guided_reports_start.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 9551980fb2..fbf077c7c7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -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> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27436
:
115275
|
115307
|
115573
|
139419
|
139427
|
140157