Bug With Streamed Chat

Bug With Streamed Chat

par Dan Poltawski,
Nombre de réponses : 1
Streamed chat seems to cause an issue with the javascript locking of the send message field.

I am not really up to speed with javascript, but it seems to be related to this from
mod/chat/gui_header_js/insert.php:

<code>
    if ($chatuser->version == 'header_js') {
        /// force msg referesh ASAP
        echo '<script type="text/javascript">parent.jsupdate.location.href = parent.jsupdate.document.ancho|rs[0].href;parent.input.enableForm();</script>';
    }
</code>

I changed this to:
<code>
    if ($chatuser->version == 'header_js') {
        /// force msg referesh ASAP
        echo '<script type="text/javascript">parent.input.enableForm();</script>';
    }
</code>

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).
Moyenne des évaluations: -
En réponse à Dan Poltawski

Re: Bug With Streamed Chat

par Chris Potter,

If it makes you feel any better, you're not alone. I've had this issue too. I was unable to correct it (I'm not a Javascript person either). If anyone knows if it's just a compatibility, I'd be curious to know.

Do you have IIS6 and Windows Server 2003? I'm wondering about IIS6 and it's ability to handle stream requests.