From f6ceee63168905e5507332f4de3c19eb42bdce41 Mon Sep 17 00:00:00 2001 From: Nick Clemens 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: $('#limitselect').submit(); }); + $('#sql').focus(function() { + $('#updated').hide(); + }); + $(".goback").on("click",function(e){ e.preventDefault(); window.history.back(); -- 2.1.4