Well, as I continue to try to get things working...I'm working on the
chat demo. It works fine with both long polling and web sockets (if
using 1.1) when I first go to the page. However, if I refresh the page
while on it, I get an Uncaught exception: TypeError: this.currentPipe
is null (Firefox) or Uncaught TypeError: Cannot read property 'els' of
null (Chrome) error. This is on line 99 of Demos/chat/demo.js of the
official 1.0 release.
Here is the code:
if (this.currentPipe){
this.currentPipe.els.tab.addClass('unactive');
this.currentPipe.els.container.addClass('ape_none');
}
this.currentPipe = this.core.getPipe(pubid);
this.currentPipe.els.tab.removeClass('new_message'); // Error
here
It appears that this is because the uniPipeCreate and multiPipeCreate
events are never sent.
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/