[Koha-bugs] [Bug 24393] New: Remove event attributes from patron clubs list template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 9 20:08:35 CET 2020


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

            Bug ID: 24393
           Summary: Remove event attributes from patron clubs list
                    template
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
               URL: /cgi-bin/koha/clubs/clubs.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 the main list of patron clubs has some 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