diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-29 23:54:55 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-29 23:54:55 (GMT) |
commit | e30409e0d93755bea4d18bcff4b9b86602c6dd52 (patch) | |
tree | 00a02590e4c2ed7cfe478c294935b06c11aa4829 /demos/declarative/samegame/content/samegame.js | |
parent | 15145a3b6d675c268b6262d11d390eaf9fc25fee (diff) | |
parent | dc59b792119241988cdfe9f31d3aea55dcd5e8fe (diff) | |
download | Qt-e30409e0d93755bea4d18bcff4b9b86602c6dd52.zip Qt-e30409e0d93755bea4d18bcff4b9b86602c6dd52.tar.gz Qt-e30409e0d93755bea4d18bcff4b9b86602c6dd52.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'demos/declarative/samegame/content/samegame.js')
-rwxr-xr-x | demos/declarative/samegame/content/samegame.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/content/samegame.js b/demos/declarative/samegame/content/samegame.js index 3598c26..8651c84 100755 --- a/demos/declarative/samegame/content/samegame.js +++ b/demos/declarative/samegame/content/samegame.js @@ -235,6 +235,7 @@ function sendHighScore(name) { var postData = "name="+name+"&score="+gameCanvas.score +"&gridSize="+maxX+"x"+maxY +"&time="+Math.floor(timer/1000); postman.open("POST", scoresURL, true); + postman.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); postman.onreadystatechange = function() { if (postman.readyState == postman.DONE) { dialog.show("Your score has been uploaded."); |