diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-17 22:33:44 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-17 22:33:44 +0800 |
commit | aa34cd9d5fc82442d852c3a89e09b0bb978a4096 (patch) | |
tree | 049f01f4149ae89854bf2bf16f574bc9395fe61f /fg21sim/webui/static/js/websocket.js | |
parent | 4c4531530eaa94be2abeec2b28e343c312183334 (diff) | |
download | fg21sim-aa34cd9d5fc82442d852c3a89e09b0bb978a4096.tar.bz2 |
webui: console.js: Change to use AJAX instead of WebSocket messages
Also support modal dialog for confirmation and operation results.
Diffstat (limited to 'fg21sim/webui/static/js/websocket.js')
-rw-r--r-- | fg21sim/webui/static/js/websocket.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/webui/static/js/websocket.js b/fg21sim/webui/static/js/websocket.js index 45d550d..b0fe1b9 100644 --- a/fg21sim/webui/static/js/websocket.js +++ b/fg21sim/webui/static/js/websocket.js @@ -135,7 +135,7 @@ var connectWebSocket = function (url) { handleWebSocketMsgConfigs(msg); } else if (msg.type === "console") { - handleMsgConsole(msg); + handleWebSocketMsgConsole(msg); } else if (msg.type === "results") { console.error("NotImplementedError"); |