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