From 90255c8d0d69f2843c72c41faab57c3905fbf906 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 28 Nov 2018 15:44:11 +0100 Subject: Add plots to predistortion page --- gui/static/js/odr-predistortion.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/static/js/odr-predistortion.js') diff --git a/gui/static/js/odr-predistortion.js b/gui/static/js/odr-predistortion.js index 6c5f4d3..73c3b94 100644 --- a/gui/static/js/odr-predistortion.js +++ b/gui/static/js/odr-predistortion.js @@ -33,6 +33,10 @@ function calibraterefresh() { $(function(){ $('#calibraterefreshbtn').click(calibraterefresh); + $('#refreshframesbtn').click(function() { + $('#txframeimg').src("dpd/txframe.png"); + $('#rxframeimg').src("dpd/rxframe.png"); + }); $('#calibratebtn').click(function() { doApiRequestPOST("/api/calibrate", {}, function(data) { -- cgit v1.2.3