aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 6d412ab0..a2a5c67d 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -873,6 +873,10 @@ resetSamplesTable = function() {
}
};
$('.reset').click(function() {
+ $('.selected').each(function() {
+ $(this).removeClass('selected');
+ $(this).find('.edit_sample_checkbox').prop("checked", false);
+ })
resetSamplesTable();
$('input[name="transform"]').val("");
editDataChange();