diff options
Diffstat (limited to 'html_server/static/check_err.js')
-rw-r--r-- | html_server/static/check_err.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html_server/static/check_err.js b/html_server/static/check_err.js new file mode 100644 index 0000000..a63d7bc --- /dev/null +++ b/html_server/static/check_err.js @@ -0,0 +1,4 @@ +function checkError(json) { + if(json.error) + alert('Error: ' + json.error) +} |