blob: 520699cd738f0877fb3658d5067d77a7e3aedde8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// longpolling for #{ident}
function poller#{ident}() {
longpoll('@{gethtml}', '#{ident}'
, function() { setTimeout(poller#{ident}, #{delay}); }
, function() { webapp_disconnected(); }
);
}
$(function() {
setTimeout(poller#{ident}, #{startdelay});
});
|