]> git.koha-community.org Git - koha.git/commit
Bug 13613: (Bug 22744 follow-up) Remove js handling for 'none'
authorNick Clemens <nick@bywatersolutions.com>
Wed, 17 Mar 2021 13:25:44 +0000 (13:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 May 2021 13:09:19 +0000 (15:09 +0200)
commit4d15224c78b61e89f22eb44c4819475555808095
tree0f23d901bde2fd4541313500c0dd913f84287355
parente95ffe8da341b44184dfe1c9b9c2c18d44ff8482
Bug 13613: (Bug 22744 follow-up) Remove js handling for 'none'

There was a function and a set of onclick events to handle the 'Do not notify'
checkboxes.

Those have been removed, so should this code

To test:
1 - Sign in to opac
2 - Click on 'your messaging' tab from 'your account'
3 - Check/uncheck some boxes
4 - Note error in the console:
    Uncaught TypeError: document.opacmessaging.none2 is undefined
5 - Apply patch
6 - repeat
7 - no more error

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt