[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:52:56 CEST 2019


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

Lari Taskula <lari.taskula at hypernova.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94767|0                           |1
        is obsolete|                            |

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

When sms messaging is disabled, JavaScript breaks in 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

Sponsored-by: Koha-Suomi Oy

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


More information about the Koha-bugs mailing list