]> git.koha-community.org Git - koha.git/commit
Bug 11274 Sent Notices Tab Not Working Correctly
authorOwen Leonard <oleonard@myacpl.org>
Mon, 21 Nov 2016 13:26:13 +0000 (08:26 -0500)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 2 Jan 2017 11:09:32 +0000 (12:09 +0100)
commite973f2980c4dd541f53b0148604bd9706671f5e5
tree202d9a9690f59fd3a73e8d33ae61febcab6b3456
parente76289b2cb5070526b84758e2f3228d84e977c25
Bug 11274 Sent Notices Tab Not Working Correctly

This patch implements the notices toggle event using a different method.
Using on() lets us bind the event to a parent element, allowing the
event to attach to elements which may not exist on the page yet.

Test plan the same as original patch:

1) have a patron with more then 20 notices sent
2) go to patron profile -> notices
-> without patch, the showing/hidding of notices content does work
correctly only on first loaded page
-> with patch, it should work correctly everywhere - try to use
paginator, searching, ordering....

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 6163337cd8caab98db993e4d51ac73abbdd83b86)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 9af15e2cb487280e3c4b5859a5edb77a0403c09e)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt