Bugzilla – Attachment 70443 Details for
Bug 19957
Allow continued editing after saving a report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19957 - Hide saved message once editing report
Bug-19957---Hide-saved-message-once-editing-report.patch (text/plain), 2.55 KB, created by
Nick Clemens (kidclamp)
on 2018-01-11 18:58:11 UTC
(
hide
)
Description:
Bug 19957 - Hide saved message once editing report
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-01-11 18:58:11 UTC
Size:
2.55 KB
patch
obsolete
>From f6ceee63168905e5507332f4de3c19eb42bdce41 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 11 Jan 2018 18:56:34 +0000 >Subject: [PATCH] Bug 19957 - Hide saved message once editing report > >To test: >1 - Apply this patch >2 - Save/Update report >3 - Note when you focus on the 'sql' area the saved message dissappears >--- > .../en/modules/reports/guided_reports_start.tt | 26 +++++++++++++--------- > 1 file changed, 16 insertions(+), 10 deletions(-) > >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 3071afc..c175884 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 >@@ -814,16 +814,18 @@ Sub report:<select name="subreport"> > > [% IF ( save_successful ) %] > [% UNLESS ( errors ) %] >-<h2>Your report has been saved</h2> >-<h4>[% reportname %]</h4> >-<ul> >- [% IF ( id ) %] >- <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report">Run this report</a></li> >- [% END %] >- <li>Access this report from the: <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports page</a></li> >- <li>Schedule this report to run using the: <a href="/cgi-bin/koha/tools/scheduler.pl">Scheduler tool</a></li> >- <li>Return to: <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Guided reports</a></li> >-</ul> >+<div id="updated"> >+ <h2>Your report has been saved</h2> >+ <h4>[% reportname %]</h4> >+ <ul> >+ [% IF ( id ) %] >+ <li><a href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report">Run this report</a></li> >+ [% END %] >+ <li>Access this report from the: <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports page</a></li> >+ <li>Schedule this report to run using the: <a href="/cgi-bin/koha/tools/scheduler.pl">Scheduler tool</a></li> >+ <li>Return to: <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Guided reports</a></li> >+ </ul> >+</div> > [% END %] > [% END %] > >@@ -963,6 +965,10 @@ Sub report:<select name="subreport"> > $('#limitselect').submit(); > }); > >+ $('#sql').focus(function() { >+ $('#updated').hide(); >+ }); >+ > $(".goback").on("click",function(e){ > e.preventDefault(); > window.history.back(); >-- >2.1.4
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 19957
:
70439
|
70443
|
70604
|
70605
|
70767
|
70769
|
70776
|
73242