From 92ee4b170eecefbb02616fed8c41df0071ce1e66 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 13 Feb 2019 18:51:34 +0100 Subject: implemented set_language command via web sockets --- cmd/dolmetschctld/web-static/socket.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd/dolmetschctld/web-static') diff --git a/cmd/dolmetschctld/web-static/socket.html b/cmd/dolmetschctld/web-static/socket.html index 903868d..b9bebbb 100644 --- a/cmd/dolmetschctld/web-static/socket.html +++ b/cmd/dolmetschctld/web-static/socket.html @@ -49,6 +49,11 @@ ctrl.send(req); } + function set_language() { + req = { command: "language", arguments: [ $('#inputlang').val() ] }; + ctrl.send(req); + } + function init() { $('#buttonstate').attr('disabled','disabled') } @@ -60,6 +65,8 @@
+ +
-- cgit v1.2.3