156
102
var hist = new History();
165
108
var args = {"host": server_host, "port": server_port,
167
110
var xmlhttp = ajax_call("consoleservice", "chat", args, "POST");
169
112
var res = JSON.parse(xmlhttp.responseText);
172
115
var pre = document.createElement("pre");
173
116
pre.setAttribute("class", "inputMsg");
177
120
if (res.hasOwnProperty('okay'))