aboutsummaryrefslogtreecommitdiffstats
path: root/python/gui/static/js/odr-predistortion.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gui/static/js/odr-predistortion.js')
-rw-r--r--python/gui/static/js/odr-predistortion.js10
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() {