Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sorryjack opened this issue Sep 21, 2015 · 3 comments
Assignees

Comments

@sorryjack
Copy link

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.

@Frug
Copy link
Owner

Frug commented Mar 9, 2016

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

@Frug Frug closed this as completed Mar 9, 2016
@DonDiegoAA
Copy link

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.

@Frug Frug reopened this Jun 1, 2016
@Frug
Copy link
Owner

Frug commented Jun 1, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants