diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-03-02 08:48:24 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-03-02 08:48:24 +0100 |
commit | 8eca0564a1dd6aac125086a244687b4813a1fd86 (patch) | |
tree | 462919b3c3a3ebe833b3b7215c5a9399e5da7f60 /pyserver/static/check_err.js | |
parent | 269b0985bd5830e27f6dedb04a05d76f52acb68c (diff) | |
parent | adc657ebcd01ecc2cc5f110453ef00dffde2d5c0 (diff) | |
download | pcitool-8eca0564a1dd6aac125086a244687b4813a1fd86.tar.gz pcitool-8eca0564a1dd6aac125086a244687b4813a1fd86.tar.bz2 pcitool-8eca0564a1dd6aac125086a244687b4813a1fd86.tar.xz pcitool-8eca0564a1dd6aac125086a244687b4813a1fd86.zip |
1. Merge with http://ufo.kit.edu/ufo/log/csa/pcitool 359 revision
2. Move api_server to html server
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) +} |