diff --git a/guacamole/client/web/javascript/guacamole.js b/guacamole/client/web/javascript/guacamole.js index 309de56d4..fe2006bb5 100644 --- a/guacamole/client/web/javascript/guacamole.js +++ b/guacamole/client/web/javascript/guacamole.js @@ -376,15 +376,13 @@ function VNCClient(display) { } - var seq = 0; - function makeRequest() { // Download self var xmlhttprequest = new XMLHttpRequest(); - xmlhttprequest.open("GET", "instructions?seq=" + (seq++)); - + xmlhttprequest.open("POST", "instructions"); xmlhttprequest.send(null); + return xmlhttprequest; }