]> git.koha-community.org Git - koha.git/commit
Bug 16947: Can not modify patron messaging preferences
authorMarc <veron@veron.ch>
Thu, 21 Jul 2016 08:22:57 +0000 (10:22 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 11:31:23 +0000 (13:31 +0200)
commitb7412a34c5e8f95a1730a421f3513d0d1e10639a
tree3867cbb66ab7499379943c3bfcefea862ca4b0b9
parent16b97e21d0ed13e5f38987c64db55ae15d944dc3
Bug 16947: Can not modify patron messaging preferences

To verify:
- Set syspref 'EnhancedMessagingPreferences' to 'Allow'
- In staff client, go to a patron's detail page
- Edit Patron messaging preferences (using link below table)
- Save
Result: Form does not save, stays open
JavaScript error in intranet-tmpl/prog/js/members.js line 107
TypeError: document.form.password is undefined

To test:
- Apply patch
- Repeat steps above
- Verify that messaging preferences save as expected
- Verify that other patron modifications work as before

NOTE: remember to force reload of the javascripts.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 87d96b973aa19e0808070d4b0fdd6485e5c83181)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/js/members.js