diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-13 20:12:31 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-13 20:12:31 +0100 |
commit | 2154c5b763188e2ed1bedca911635805ff43b90a (patch) | |
tree | 7e44222f56ba63293da38a432660e758d235b5db /cmd/dolmetschctld/web-static | |
parent | implemented command to fetch list of languages (diff) |
added state change subscription to state machine
Diffstat (limited to 'cmd/dolmetschctld/web-static')
-rw-r--r-- | cmd/dolmetschctld/web-static/socket.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dolmetschctld/web-static/socket.html b/cmd/dolmetschctld/web-static/socket.html index 0dd88c5..f1156c7 100644 --- a/cmd/dolmetschctld/web-static/socket.html +++ b/cmd/dolmetschctld/web-static/socket.html @@ -43,6 +43,7 @@ this.sock_onopen = function() { this.send({ command: "languages" }); + this.send({ command: "subscribe" }); $('#buttonstate').removeAttr('disabled','disabled'); $('#buttonlang').removeAttr('disabled','disabled'); } |