]> git.koha-community.org Git - koha.git/commit
Bug 16281: [Follow-up] Remove the use of "onclick" from Reports module
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Apr 2016 13:31:10 +0000 (09:31 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 10:58:29 +0000 (10:58 +0000)
commit6e6f9c973d41797abf08382a6d7ad819a27d2ec8
tree3907a5f8e33c0026adb0e3fb64b4e3ff0b701649
parentd06de76eab41465fc83431aa57018b094931f0f8
Bug 16281: [Follow-up] Remove the use of "onclick" from Reports module

This minor follow-up adds a dummy href attribute to the "Return to the
previous page" link so that the link behaves like a link. A
"preventDefault()" is added to the goback() function to keep the "#"
link from triggering a page jump.

To test, apply the patch, create a report with an SQL error and run
it. Confirm that the 'Return to previous page' link works as expected.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt