From f4ca82137e850e30d31e7008b34800d8b2699e5d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 19 Dec 2018 16:11:58 +0100 Subject: DPD: Merge Model_PM and _AM into _Poly --- python/gui/static/js/odr-predistortion.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'python/gui/static/js') diff --git a/python/gui/static/js/odr-predistortion.js b/python/gui/static/js/odr-predistortion.js index ff82142..59dcd82 100644 --- a/python/gui/static/js/odr-predistortion.js +++ b/python/gui/static/js/odr-predistortion.js @@ -39,13 +39,23 @@ function resultrefresh() { if (data['statplot']) { $('#dpdcapturestats').attr('src', data['statplot']); } + else { + $('#dpdcapturestats').attr('src', ""); + } if (data['amplot']) { $('#dpdamplot').attr('src', data['amplot']); } + else { + $('#dpdamplot').attr('src', ""); + } + if (data['pmplot']) { $('#dpdpmplot').attr('src', data['pmplot']); } + else { + $('#dpdpmplot').attr('src', ""); + } }); jqxhr.always(function() { -- cgit v1.2.3