Bug with reconnection in 0.7.10 version

0 views
Skip to first unread message

Nemanja Stefanovic

unread,
Oct 19, 2009, 1:16:18 PM10/19/09
to orbite...@googlegroups.com
Hello,

I just ran into this problem and wanted to point it out in case anyone else was experiencing it. I'm using version 0.7.10 so not sure if others are affected, but on line 1317, there is:
"
if (xhr.status === null) {
"

In Firefox 3.5.3 for me this was never true so reconnection was never attempted. After changing the line to:
"
if (xhr.status != 200) {
"

everything worked properly again. I'm not really a JS master but this seemed to work for me and I'll test in other browsers as time allows. If anyone has a better solution to this problem I'd be happy to hear it as I'm not certain if my fix is the correct one, but it works.

Thanks for the great software, Orbited has been excellent thus far!

-Nemanja Stefanovic
Reply all
Reply to author
Forward
0 new messages