From e31327e1edae511151c17aa3d77e0b8b864cacc2 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 10 Aug 2023 16:28:56 +0000 Subject: Fix probeset editing template to detect changes to sample values --- wqflask/wqflask/templates/edit_probeset.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/wqflask/wqflask/templates/edit_probeset.html b/wqflask/wqflask/templates/edit_probeset.html index 23d69906..1d97dbe3 100644 --- a/wqflask/wqflask/templates/edit_probeset.html +++ b/wqflask/wqflask/templates/edit_probeset.html @@ -38,7 +38,9 @@ - + + +

Edit Sample Data

@@ -198,7 +200,7 @@
- +
@@ -270,5 +272,11 @@ $("input[type=submit]").click(function(){ $(":input:not(.changed)").attr("disabled", "disabled"); }); + + // This is an awkward way to detect changes to table data, so it doesn't process it otherwise + $(".table_input").change(function(){ + $("input[name=edited]").val("true"); + }); + {% endblock %} -- cgit v1.2.3