diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-03-01 16:42:48 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-03-01 16:42:48 +0100 |
commit | 9b947f32c3db96c3022afad401b1349205d22259 (patch) | |
tree | 1bc5fbc5c82752d1808a240964317c6813ad19c3 /html_server/static/check_err.js | |
parent | 5d775d64bdec554b9842823bd1c46263210425fd (diff) | |
download | pcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.gz pcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.bz2 pcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.xz pcitool-9b947f32c3db96c3022afad401b1349205d22259.zip |
1. api-serer:
- change multiprosessing work mechanism
- add new pywrap functions handling
2. html-server:
- now works through api-server
Diffstat (limited to 'html_server/static/check_err.js')
-rw-r--r-- | html_server/static/check_err.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html_server/static/check_err.js b/html_server/static/check_err.js index a63d7bc..66519ea 100644 --- a/html_server/static/check_err.js +++ b/html_server/static/check_err.js @@ -1,4 +1,4 @@ function checkError(json) { - if(json.error) - alert('Error: ' + json.error) + if(json.status === 'error') + alert('Error: ' + json.description) } |