[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
Fri Apr 22 15:34:11 CEST 2016


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

--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 50586
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50586&action=edit
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.

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


More information about the Koha-bugs mailing list