Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6686

Streamed Chat Locks Send Message Field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.6.1, 1.6.2
    • Fix Version/s: 1.6.3, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux Apache etc
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/06