aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js1
-rw-r--r--wqflask/wqflask/templates/show_trait.html5
2 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 74706f98..210945f0 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -1180,7 +1180,6 @@ $('.stats_panel').click(function() {
}
});
$('#edit_sample_lists').change(edit_data_change);
-$('.edit_sample_value').change(edit_data_change);
$('#block_by_index').click(edit_data_change);
$('#exclude_group').click(edit_data_change);
$('#block_outliers').click(edit_data_change);
diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html
index 9125b1ae..fc5f5e7b 100644
--- a/wqflask/wqflask/templates/show_trait.html
+++ b/wqflask/wqflask/templates/show_trait.html
@@ -177,10 +177,11 @@
}
});
+
$('#samples_primary').DataTable( {
'initComplete': function(settings, json) {
$('.edit_sample_value').change(function() {
- edit_data_change;
+ edit_data_change();
});
},
'createdRow': function ( row, data, index ) {
@@ -301,7 +302,7 @@
$('#samples_other').DataTable( {
'initComplete': function(settings, json) {
$('.edit_sample_value').change(function() {
- edit_data_change;
+ edit_data_change();
});
},
'createdRow': function ( row, data, index ) {