diff options
-rw-r--r-- | wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js | 5 | ||||
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js index 6c72449f..e1026f8c 100644 --- a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js +++ b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js @@ -178,11 +178,6 @@ function loadDataTable(first_run=false, table_id, table_data){ } table_settings = { - 'initComplete': function(settings, json) { - $('.edit_sample_value').change(function() { - edit_data_change(); - }); - }, 'createdRow': function ( row, data, index ) { $(row).attr('id', table_type + "_" + data.this_id) $(row).addClass("value_se"); diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index f050d4ae..6b81b47e 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -1770,6 +1770,10 @@ $('#filter_by_value').click(function(){ edit_data_change(); }) +$('.edit_sample_value').change(function() { + edit_data_change(); +}); + $('#exclude_group').click(edit_data_change); $('#block_outliers').click(edit_data_change); $('#reset').click(edit_data_change); |