From 80a92a614d62141beba2c08a0393b736a1f6b0c4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 24 Sep 2018 20:47:33 +0200 Subject: Make capture return a json --- gui/static/js/odr-predistortion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/static/js') 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); }); }); -- cgit v1.2.3