aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/alsa-core.html
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-08 14:23:35 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-08 14:23:35 +0100
commit1393b5d318e22dbd1625692847a51c27932fd442 (patch)
tree19fd954a04456be8e1c7ebde5b3aaefbe08dbcad /htdocs/alsa-core.html
parent0964e7da8576b8761e8d3d16b50cc842406c7e67 (diff)
Events Partially Working
Diffstat (limited to 'htdocs/alsa-core.html')
-rw-r--r--htdocs/alsa-core.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/htdocs/alsa-core.html b/htdocs/alsa-core.html
index e408a01..0969b6f 100644
--- a/htdocs/alsa-core.html
+++ b/htdocs/alsa-core.html
@@ -15,7 +15,7 @@
document.getElementById("connected").innerHTML = "Connected Closed";
}
function init() {
- ws = new AfbWsItf("api", onopen, onabort, new AfbCtxItf("hello"));
+ ws = new AfbWsItf("api", onopen, onabort, new AfbCtxItf("mysecret"));
}
function replyok(obj) {
document.getElementById("output").innerHTML = "OK: "+JSON.stringify(obj);
@@ -38,6 +38,5 @@
<li><a href="api/alsacore/getctl?devid=hw:0&numid=1&quiet=0">return control numid=1 for hw:0</a>
<li><button id="connected" onclick="subscribe('hw:0')">Click to Connected</button></li>
<div id="main" style="visibility:hidden">
- <p>Event Output</p>
Server says... <div id="output"></div>
</div>