summaryrefslogtreecommitdiff
path: root/ws2a/bugview.js
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 16:08:31 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-09 16:08:31 -0400
commit4ba6f3e5ceed1bd7ff454fce96348e3b5c052b70 (patch)
tree66da68060b7a9b1d46880d965be7f0b3146ae921 /ws2a/bugview.js
parentea0c4c66550c2a649374b23989d05b11c550ca4f (diff)
downloadwebpage-4ba6f3e5ceed1bd7ff454fce96348e3b5c052b70.tar.gz
webpage-4ba6f3e5ceed1bd7ff454fce96348e3b5c052b70.tar.bz2
webpage-4ba6f3e5ceed1bd7ff454fce96348e3b5c052b70.zip
Starting working on showing bugs
Diffstat (limited to 'ws2a/bugview.js')
-rw-r--r--ws2a/bugview.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/ws2a/bugview.js b/ws2a/bugview.js
new file mode 100644
index 0000000..4c8b007
--- /dev/null
+++ b/ws2a/bugview.js
@@ -0,0 +1,11 @@
+function loadLastBugs() {
+ var xhttp = new XMLHttpRequest();
+ xhttp.onreadystatechange = function() {
+ if (xhttp.readyState == 4 && xhttp.status == 200) {
+ document.getElementById("bugstable").innerHTML = xhttp.responseText;
+ }
+ };
+ xhttp.open("GET", "/cgi-bin/bugsdata.cgi", true);
+ xhttp.send();
+}
+window.onload = loadLastBugs