X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=navigator.gssweb.js;h=cd173897fdec66575e64d2717818ff91bfbc8e37;hb=9a8792cb7a3c73019af2b1ac7dd573d6c019d9b9;hp=9d773cc410286cf8d5f93fcbd51917fe38dcdf0d;hpb=b4266691f6ba342f0ff2988130d3e9cf09ce2183;p=gssweb.git diff --git a/navigator.gssweb.js b/navigator.gssweb.js index 9d773cc..cd17389 100644 --- a/navigator.gssweb.js +++ b/navigator.gssweb.js @@ -1,4 +1,4 @@ -console.log("Loading navigator.gssweb.js - #2"); +console.log("Loading navigator.gssweb.js - #4"); var GSSWeb = (function () { @@ -138,12 +138,15 @@ var GSSWeb = (function () { var msg = "nonce=" + this.nonce + "&token=" + encodeURIComponent(this.clientToken); + this.xhr.open("POST", this.serverPath, true); + this.xhr.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' ); this.xhr.onreadystatechange = this.recvTokenFromServer.bind(this); + this.xhr.send(msg); };