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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 May 2021 15:13:10 +0000 (17:13 +0200)
commitd110ee69e343b8762b58a07fe91f01e3b78d3ed3
tree71f5ef1dc169e4a7323c37918d95c5549b154232
parente10525c444d6f003114f534d6a78d5a77daf2dc6
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>
(cherry picked from commit 4d15224c78b61e89f22eb44c4819475555808095)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt