I posted on forum (http://moodle.org/mod/forum/discuss.php?d=53467) , forgot about bug tracker.
When using streamed chat, the javascript locks the send message field, rendering it unusable:
I am not really up to speed with javascript, but I made a quick fix (which doesn't refresh the chat screen as soon as it should)
mod/chat/gui_header_js/insert.php (~60):
FROM:
if ($chatuser->version == 'header_js')
{ /// force msg referesh ASAP echo '<script type="text/javascript">parent.jsupdate.location.href = parent.jsupdate.document.anchors[0].href;parent.input.enableForm();</script>'; }TO:
if ($chatuser->version == 'header_js')
{ /// force msg referesh ASAP echo '<script type="text/javascript">parent.input.enableForm();</script>'; }So it unlocks the form, (but doesn't update the mesage screen - I don't know enough js to work out why it wasn't workign correctly).
- will be (partly) resolved by
-
MDL-6791 Streamed Chat JS bug Prevents Use
- Closed