aboutsummaryrefslogtreecommitdiffstats
path: root/python/gui/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gui/static/js')
-rw-r--r--python/gui/static/js/odr-predistortion.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/python/gui/static/js/odr-predistortion.js b/python/gui/static/js/odr-predistortion.js
index 59dcd82..f46219c 100644
--- a/python/gui/static/js/odr-predistortion.js
+++ b/python/gui/static/js/odr-predistortion.js
@@ -43,18 +43,13 @@ function resultrefresh() {
$('#dpdcapturestats').attr('src', "");
}
- if (data['amplot']) {
- $('#dpdamplot').attr('src', data['amplot']);
- }
- else {
- $('#dpdamplot').attr('src', "");
- }
+ $('#dpdmodeldata').html(data['modeldata']);
- if (data['pmplot']) {
- $('#dpdpmplot').attr('src', data['pmplot']);
+ if (data['modelplot']) {
+ $('#dpdmodelplot').attr('src', data['modelplot']);
}
else {
- $('#dpdpmplot').attr('src', "");
+ $('#dpdmodelplot').attr('src', "");
}
});