~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to console/console.js

  • Committer: drtomc
  • Date: 2008-01-02 22:21:12 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:128
A couple of bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    var inp = document.getElementById('inputText');
132
132
    var digest = hex_md5(inp.value + magic);
133
133
    var xmlhttp = new XMLHttpRequest();
 
134
    alert(inp.value);
134
135
    xmlhttp.open("POST", "chat", false);
135
136
    xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
136
137
    xmlhttp.send(make_post_body({"digest":digest, "text":inp.value}))