From 07c4b844c4a27aabbb048a0a57a4edfbb3e0ab03 Mon Sep 17 00:00:00 2001
From: Aleisha
Date: Sun, 17 Apr 2016 23:45:26 +0000
Subject: [PATCH] [SIGNED-OFF] Bug 16281: Remove the use of 'onclick' from
Reports module
Content-Type: text/plain; charset="utf-8"
EDIT: Removing unnecessary functions
To test:
1) Go to Reports -> Dictionary
a) Attempt to delete a definition. Confirm the Ok and cancel
buttons in confirm dialog work as expected
2) Go to Reports -> Build new
a) On each step of building a report, confirm the back button
works as expected
b) Confirm add column and delete column on step 3 works as
expected
3) Confirm deleting a report from the toolbar triggers confirm dialog
and it works as expected
4) Create a report with an SQL error and run it. Confirm that the
'Return to previous page' link works as expected
Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard
---
.../prog/en/includes/reports-toolbar.inc | 8 ++++++-
.../prog/en/modules/reports/dictionary.tt | 9 ++++++-
.../en/modules/reports/guided_reports_start.tt | 28 +++++++++++++++-------
3 files changed, 35 insertions(+), 10 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
index eb1d266..fef1166 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
@@ -27,7 +27,7 @@
[% IF ( CAN_user_reports_create_reports ) %]