From 596cde6c992367670029c2cc16a14a2c0f3d5c58 Mon Sep 17 00:00:00 2001 From: Jack5MxHF Date: Mon, 24 Oct 2022 09:53:22 +0700 Subject: [PATCH] Reset feature analyses parameters after submission --- .../characterization-params-create-modal.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/pages/characterizations/components/characterizations/characterization-view-edit/characterization-params-create-modal.js b/js/pages/characterizations/components/characterizations/characterization-view-edit/characterization-params-create-modal.js index 024e0de8e..76bcd6f24 100644 --- a/js/pages/characterizations/components/characterizations/characterization-view-edit/characterization-params-create-modal.js +++ b/js/pages/characterizations/components/characterizations/characterization-view-edit/characterization-params-create-modal.js @@ -36,6 +36,12 @@ define([ name: this.paramName(), value: this.paramValue() }); + this.resetParams(); + } + + resetParams() { + this.paramName('') + this.paramValue('') } }