AJAX-Chat icon indicating copy to clipboard operation
AJAX-Chat copied to clipboard

"TypeError: ajaxChat.handleInputFieldKeyPress is not a function" on shoutbox integration

Open sorryjack opened this issue 9 years ago • 3 comments

I integrate the standalone version to my website as shoutbox and I got this error when I type on the chat input field: TypeError: ajaxChat.handleInputFieldKeyPress is not a function

It runs well on the standalone chat app, but not in shoutbox mode.

Thanks n please help.

sorryjack avatar Sep 21 '15 01:09 sorryjack

It sounds like you're not including all the javascript correctly. Please use groups for support.

Frug avatar Mar 09 '16 22:03 Frug

I think there is an error in lib/template/shoutbox.html onkeypress="ajaxChat.handleInputFieldKeyPress(event);" should be onkeypress="ajaxChat.handleInputFieldKeyDown(event);"

Also, sound_7.ogg, sound_7.wav, sound_8.ogg and sound_7.wav are missing.

DonDiegoAA avatar May 31 '16 00:05 DonDiegoAA

Quite right. Looks like I changed the function elsewhere but not shoutbox.

Frug avatar Jun 01 '16 01:06 Frug