aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/websocket.js
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-13 17:18:51 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-13 17:18:51 +0800
commit013c815abfa4fd0391b79b2653d989588b170e86 (patch)
tree64d3845363fc58255d9845cbd2fd07607fd1b461 /fg21sim/webui/static/js/websocket.js
parent81434114e4d03cce101d3a732795afa4835fe7c8 (diff)
downloadfg21sim-013c815abfa4fd0391b79b2653d989588b170e86.tar.bz2
webui: Show a modal box indicating there are invalid configs
Diffstat (limited to 'fg21sim/webui/static/js/websocket.js')
-rw-r--r--fg21sim/webui/static/js/websocket.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/webui/static/js/websocket.js b/fg21sim/webui/static/js/websocket.js
index 26d7fce..0fcf98e 100644
--- a/fg21sim/webui/static/js/websocket.js
+++ b/fg21sim/webui/static/js/websocket.js
@@ -232,6 +232,7 @@ $(document).ready(function () {
startServerTask(g_ws);
getServerTaskStatus(g_ws);
} else {
+ $("#console-invalid-configs").modal();
console.error("Exist invalid configuration values!");
}
});