aboutsummaryrefslogtreecommitdiffstats
path: root/gui/static
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-09-24 20:47:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-09-24 20:47:33 +0200
commit80a92a614d62141beba2c08a0393b736a1f6b0c4 (patch)
tree62e8ccd44b712bf407708aa8d10fa5f56d240ebb /gui/static
parent5ad01f6415710521173e7a612b32c982847eada4 (diff)
downloaddabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.tar.gz
dabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.tar.bz2
dabmod-80a92a614d62141beba2c08a0393b736a1f6b0c4.zip
Make capture return a json
Diffstat (limited to 'gui/static')
-rw-r--r--gui/static/js/odr-predistortion.js2
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);
});
});