aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/case_attributes.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/case_attributes.html b/wqflask/wqflask/templates/case_attributes.html
index fad3dd94..d1669761 100644
--- a/wqflask/wqflask/templates/case_attributes.html
+++ b/wqflask/wqflask/templates/case_attributes.html
@@ -287,10 +287,12 @@
$(this).parents("tr").find(".add, .edit").toggle();
$(".add-new").removeAttr("disabled");
}
+ else {
+ return;
+ }
let nameNode = $(this).parents("tr").find(".name");
let descNode = $(this).parents("tr").find(".description");
-
let name = nameNode.html();
let desc = descNode.html();
let nodeId = $(this).parents("tr").data("id");