[Bug 43318] New: Remove event attributes from patron_messages.inc
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43318 Bug ID: 43318 Summary: Remove event attributes from patron_messages.inc Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Circulation Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Blocks: 38407 Target Milestone: --- There are a couple of event attributes in patron_messages.inc which can be moved to members-menu.js. These click events are meant to trigger tabs on either the checkout or the patron detail page. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38407 [Bug 38407] Eliminate event handler attributes in the staff interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43318 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43318 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Comma delimited| |Athens County Public list of Sponsors| |Libraries Sponsorship status|--- |Sponsored Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43318 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 203685 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203685&action=edit Bug 43318: Remove event attributes from patron_messages.inc This patch removes event attributes from patron_messages.inc and puts the event handling in members-menu.js. members-menu.js, like patron_messages.inc, is included in both circulation.tt and moremember.tt To test, apply the patch and locate a patron in the staff client with overdues. - On both the checkout and patron detail pages, there should be a message, "Overdues: Patron has ITEMS OVERDUE See highlighted items below." Click the link. - The page should scroll to the checkouts tab, which should be activated. - If the AlwaysLoadCheckoutsTable preference says "Don't always load the checkouts table" the loading of the checkouts table should also be triggered by this link. - Add a restriction to the patron's account. - On both the checkout and patron detail pages, confirm that the "View restrictions" button triggers the activation of the "Restrictions" tab and scrolls it into view. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org