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:
Joey Hess 2012-07-30 22:24:19 -04:00
parent 2821f9f976
commit 6e40aed948
4 changed files with 65 additions and 38 deletions

View file

@ -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;