diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-19 16:11:58 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-12-19 16:12:19 +0100 |
commit | f4ca82137e850e30d31e7008b34800d8b2699e5d (patch) | |
tree | ff19ad63f6ddf8a4f62b173c5955b2711646f123 /python/gui/static | |
parent | 9d2c85f7a2a23fcf9ce3c842d86227afed43a153 (diff) | |
download | dabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.tar.gz dabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.tar.bz2 dabmod-f4ca82137e850e30d31e7008b34800d8b2699e5d.zip |
DPD: Merge Model_PM and _AM into _Poly
Diffstat (limited to 'python/gui/static')
-rw-r--r-- | python/gui/static/js/odr-predistortion.js | 10 |
1 files changed, 10 insertions, 0 deletions
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() { |