Board Thread:Support Requests - Getting Technical/@comment-4748628-20140720195504/@comment-452-20140720210535

I think - and I might be wrong here - that that function just doesn't work, because I removed that function in my stripped down version, and just parse joins using the afteradd binding.

Edit: So, this makes me think that the reason that function doesn't work is because there's no binding for it.

After the sendMessage function, there's this line: mainRoom.viewDiscussion.bind('sendMessage', $.proxy(mainRoom.sendMessage, mainRoom)); But no equivalent line for onJoin.

edit: try this: mainRoom.socket.bind('join',$.proxy(mainRoom.onJoin,mainRoom)); It fires your alert, but there are other errors, possibly because "mainRoom" isn't the correct second parameter - or possibly because that function was just never completed.