aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-16 21:50:37 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-16 21:50:37 +0800
commit695c1b3b12db4db77a2ad7aba478ba4fd42dd76f (patch)
treead86f778052dcbae28d39b3666fcca82d4be3f1f /bin
parent43b3bff5df35333e1316281b9009bd920b761592 (diff)
downloadfg21sim-695c1b3b12db4db77a2ad7aba478ba4fd42dd76f.tar.bz2
webui: configs.js: Re-implement using AJAX instead of WebSocket
* Interact with server-side configurations using AJAX GET and POST, instead of sending and receiving messages through the WebSocket. * Add callbacks on both AJAX success and error, to show a modal box displaying the operation results/errors, achieving better user experiences. * Use jQuery deferred and promises to achieve sequential operations. * Also move the binding function from "websocket.js" to "configs.js"
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions