Commit c3311f96 authored by Niklas Postulart's avatar Niklas Postulart

Moved JS Files to separate Folder

parent 30bfb428
......@@ -28,7 +28,7 @@ var storage_keys = {
"IP_ADDRESS": 0,
"USERNAME": 1,
"PASSWORD": 2
}
};
var ISDEBUG = false;
var g_ip_address = "";
var g_username = "";
......@@ -59,11 +59,9 @@ function sendJsonRequest(requests, callback) {
response = JSON.parse(req.responseText);
if (response.result == null) {
handleJsonRpcError(response);
} else {
if (callback != null) {
} else if (callback != null) {
callback(response.result);
}
}
} else {
if (req.status !== 0) {
console.log("Error connecting ["+req.status+"]: "+req.statusText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment