diff --git a/webfrontend/pgm2/longpoll.js b/webfrontend/pgm2/longpoll.js index 163492a38..4f96c452e 100644 --- a/webfrontend/pgm2/longpoll.js +++ b/webfrontend/pgm2/longpoll.js @@ -1,5 +1,13 @@ var pollConn; +function +cmd(arg) +{ + var req = new XMLHttpRequest(); + req.open("GET", arg, true); + req.send(null); +} + function doUpdate() {