| Prev | Next |
fetchData: function(method, url)
{
var http = JwacsLib.sendRequest(method, url, null);
// Check for errors
if(!(http.status == undefined ||
http.status == 0 ||
(http.status >= 200 && http.status < 300)))
{
var err = new Error("Server returned " + http.status);
err.http = http;
throw err;
}
return http.responseText;
}