Bugzilla – Attachment 115307 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.39 KB, created by
PTFS Europe Sandboxes
on 2021-01-19 11:39:48 UTC
(
hide
)
Description:
Bug 27436: Set focus for cursor to report name field when creating new SQL report
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2021-01-19 11:39:48 UTC
Size:
1.39 KB
patch
obsolete
>From e3446ad29ebc02c3df343b8e1d394b55001df622 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. > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > 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