[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 16:36:17 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16281
Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50586|0 |1
is obsolete| |
--- Comment #6 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 50589
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50589&action=edit
[SIGNED-OFF]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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list