[Koha-bugs] [Bug 24391] New: Remove event attributes from patron clubs templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 18:44:58 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24391
Bug ID: 24391
Summary: Remove event attributes from patron clubs templates
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
URL: /cgi-bin/koha/clubs/templates-add-modify.pl
OS: All
Status: ASSIGNED
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
CC: testopia at bugs.koha-community.org
Depends on: 18530
The template for adding/editing patron clubs has several instances of
"onclick," in violation of coding guidelines.
https://wiki.koha-community.org/wiki/Coding_Guidelines#JS9:_Avoid_the_use_of_event_attributes_like_.22onclick.22_to_attach_events
They should be removed in favor of defining events in JavaScript instead of
markup.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18530
[Bug 18530] Remove event attributes from patron clubs templates
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list