fix noscript mode to not allocate notification ids on each refresh
Now the javascript does an ajax call at the start to request the url to use to poll, and the notification id is generated then, once we know javascript is working.
This commit is contained in:
parent
2821f9f976
commit
6e40aed948
4 changed files with 65 additions and 38 deletions
|
@ -1,5 +1,5 @@
|
|||
// Uses long-polling to update a div with a specified id,
|
||||
// by polling an url, which should return a new div, with the same id.
|
||||
// Updates a div with a specified id, by polling an url,
|
||||
// which should return a new div, with the same id.
|
||||
|
||||
connfails=0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue