Moodle
  1. Moodle
  2. MDL-6791

Streamed Chat JS bug Prevents Use

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.6.3, 1.7
    • Component/s: Chat
    • Labels:
      None
    • Environment:
      Apache/php, IE, FF, Opera
    • Database:
      Any
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      When using streamed chat, the javascript locks the send message field, rendering it unusable - one message can be sent and then its locked. This is seemignly due to a small bug in the javascript. IE6 reports an error (which i've attached a screenshot of).

      I am not really up to speed with javascript, but I made a fix which does at least allow the streamed chat mode to be used, which i've attached. It unlocks the form, (but doesn't update the mesage screen - I haven't had a chance to get my head round the javascript). This way, streamed chat mode does at least work (rather than being broken not allowing you to post more than one message.

      Dan

        Gliffy Diagrams

        1. streamed_chat.patch
          0.9 kB
          Dan Poltawski
        1. streamed_chat_screenshot.PNG
          155 kB

          Issue Links

            Activity

            Hide
            Martin Dougiamas added a comment -

            Thanks, Dan! Seems to help! All I see now are some long update delays.

            Show
            Martin Dougiamas added a comment - Thanks, Dan! Seems to help! All I see now are some long update delays.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: