[Koha-bugs] [Bug 16281] Remove the use of "onclick" from Reports module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 25 01:26:57 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16281

--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 50604
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50604&action=edit
[PASSED QA] 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 at gmail.com>
Works as advertised

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list