Bugzilla – Attachment 115275 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 for cursor to report name field when creating new SQL report
Bug-27436-Set-focus-for-cursor-to-report-name-fiel.patch (text/plain), 1.33 KB, created by
James O'Keeffe
on 2021-01-19 01:32:13 UTC
(
hide
)
Description:
Bug 27436: Set focus for cursor to report name field when creating new SQL report
Filename:
MIME Type:
Creator:
James O'Keeffe
Created:
2021-01-19 01:32:13 UTC
Size:
1.33 KB
patch
obsolete
>From e31bf58dae4e5198cbfa59f550247e4a34774c2c Mon Sep 17 00:00:00 2001 >From: James O'Keeffe <jamespfk@gmail.com> >Date: Tue, 19 Jan 2021 01:22:08 +0000 >Subject: [PATCH] Bug 27436: Set focus for cursor to report name field when > creating new SQL report > >This patch focuses the cursor on the 'Report name' field when creating a >new SQL report > >Test plan: >1. Navigate to the 'Create report from SQL' page (Home -> Reports -> > Guided reports Wizard -> Create from SQL) >2. Observe that the 'Report name' box is not focused on >3. Apply the patch, log in, log out. >4. Repeat step 1. The 'Report name' box should now be focused on. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 ++ > 1 file changed, 2 insertions(+) > >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 c04ffef6a4..c21983f963 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 >@@ -1392,6 +1392,8 @@ > > $(document).ready(function(){ > >+ $("#reportname").focus(); >+ > var activeTab = localStorage.getItem("sql_reports_activetab"); > > $("body").on('click',".fetch_chart_data",function(){ >-- >2.11.0
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