If chatblock is configured to not allow unauthorized user to chat, but to view chatting, then in the IE 6, there is an error message
=======
Line: 77
Char: 3
Error: document.getElementById("...") is null or not an object
Code: 0
=======
I guess it is because there is no text input field which has ID=edit-chatblocksubmit when guest is viewing the site with chatblock, but chatblock.js uses it here (in the function chatblockResponse(jsonStringResponse)):
here is this 77 line:
document.getElementById("edit-chatblocksubmit").disabled = false;
Should be just existence of this ID checked before operating it in this line?
p.s. Thanks for the module, nice stuff.
Comments
Comment #1
transliteration commentedwell as I told the following works fine:
if (document.getElementById("edit-chatblocksubmit")) {
document.getElementById("edit-chatblocksubmit").disabled = false;
}
i guess it is possible to set status as fixed?
Comment #2
dwees commentedNo leave it open until I add this fix to the module itself. It will remind me that if I ever get a chance to do updates, that this is a necessary fix. Thanks for the simple solution.
Dave
Comment #3
dwees commentedThis issue is fixed in both the 5.x-dev release and the 6.x-dev release.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.