[Koha-bugs] [Bug 23901] Fix js error sms_input is null in opac-messaging.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 25 15:40:55 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23901

--- Comment #1 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 94767
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94767&action=edit
Bug 23901: Fix sms_input is null in opac-messaging.tt

When sms messaging is disabled, JavaScript breaks on opac-messaging.tt.
Bug introduced in Bug 22862.

To test:
1. Enable EnhancedMessagingPreferences system preference
2. Disable sms messaging by unsetting SMSSendDriver system preference
3. Go to OPAC -> your messaging
4. Observe JavaScript error "sms_input is null" in your browser console
5. Apply patch
6. Refresh page and observe the error is gone

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list