From 013c815abfa4fd0391b79b2653d989588b170e86 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 13 Nov 2016 17:18:51 +0800 Subject: webui: Show a modal box indicating there are invalid configs --- fg21sim/webui/static/js/websocket.js | 1 + 1 file changed, 1 insertion(+) (limited to 'fg21sim/webui/static/js/websocket.js') 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!"); } }); -- cgit v1.2.2