diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-09-24 20:47:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-09-24 20:47:33 +0200 |
commit | 80a92a614d62141beba2c08a0393b736a1f6b0c4 (patch) | |
tree | 62e8ccd44b712bf407708aa8d10fa5f56d240ebb /gui/static/js | |
parent | 5ad01f6415710521173e7a612b32c982847eada4 (diff) | |
download | dabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.tar.gz dabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.tar.bz2 dabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.zip |
Make capture return a json
Diffstat (limited to 'gui/static/js')
-rw-r--r-- | gui/static/js/odr-predistortion.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/static/js/odr-predistortion.js b/gui/static/js/odr-predistortion.js index 13dac7a..c9b5c17 100644 --- a/gui/static/js/odr-predistortion.js +++ b/gui/static/js/odr-predistortion.js @@ -21,7 +21,7 @@ $(function(){ $('#capturebutton').click(function() { doApiRequestPOST("/api/trigger_capture", {}, function(data) { - $('#capturestatus').val(data); + $('#capturelength').val(data.length); }); }); |