diff options
author | zsloan | 2019-02-14 14:44:11 -0600 |
---|---|---|
committer | zsloan | 2019-02-14 14:44:11 -0600 |
commit | 8d4b07d6c8470eb9f0b02dd8c7903fca267e2e25 (patch) | |
tree | 74cce42d82f6303fa0caa62a1db64479902cbc9f /wqflask | |
parent | 8a4097dac4821e02f29f49b7163898c0156ef765 (diff) | |
download | genenetwork2-8d4b07d6c8470eb9f0b02dd8c7903fca267e2e25.tar.gz |
Fixed minor bug with updating stats figures when sample values changed
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 1 | ||||
-rw-r--r-- | wqflask/wqflask/templates/show_trait.html | 5 |
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 ) { |