nublic / Nublic

Your home in Internet
6 stars 1 forks source link

Manager blinks a error page #40

Closed davisein closed 11 years ago

davisein commented 12 years ago

While changing from one application to another the browser shows briefly a error page. After that the application works just fine. It might be related to the / or not / error.

To reproduce just go into a Nublic and change one aplication to another several times.

serras commented 12 years ago

That's because there are ongoing requests to server (you can check which exactly using the Chrome developers tab), which are cut when the page is changed and therefore make the onError callbacks be called. There's a way to cut it, which would be just dropping all callbacks in the onUnload() callback of the document, but since that would require having a list of callbacks, the design would suffer.

davisein commented 11 years ago

That was the answer but not fully. That was because the links work after the conversion done by the manager but not before. It was because now a link /market does not work but a /market/ does. It's close now