set the target attribute of the chatblock form element to the name of the chatblock iframe. this way, if javascript is disabled, it will only refresh the iframe and not the entire page when submitting a new chat message.

also, have the /chatblock/update page return the latest chat history. you'll need it in order for the above approach to work, but it will also help with the delay between refreshes (for example, if i set my refresh delay to 15 or 30 seconds, when i type a message i don't see it appear for a long time; naturally the user thinks either it didn't work or there is lag and will try repeatedly to submit their message.) by providing immediate responsiveness to a new message.

Comments

dwees’s picture

Assigned: Unassigned » dwees

I tried changing the url but ended up with a lot of errors. This is an issue to be fixed another day.

Dave

dwees’s picture

Status: Active » Closed (won't fix)

Since this module now uses a div to contain the messages, as per a suggestion in a different issue, I'm marking this issue as won't fix.

Dave