diff options
author | Frederick Muriuki Muriithi | 2024-12-17 15:30:20 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-17 15:59:07 -0600 |
commit | 7a02abe0a2f6f6b1c4e30a4833e2bc53a0fad4bf (patch) | |
tree | d322ee76d0250a222a427952454be64deca0d1d9 /uploader | |
parent | a8588dd35b2c74cf7fc28d4e3c8036a2c15cab57 (diff) | |
download | gn-uploader-7a02abe0a2f6f6b1c4e30a4833e2bc53a0fad4bf.tar.gz |
Trigger 'change' event on resetting value(s) to default.
Diffstat (limited to 'uploader')
-rw-r--r-- | uploader/templates/phenotypes/add-phenotypes-raw-files.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html index 519b8b2..ebacce2 100644 --- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html +++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html @@ -313,14 +313,17 @@ $("#btn-reset-file-separator").on("click", (event) => { event.preventDefault(); $("#txt-file-separator").val("\t"); + $("#txt-file-separator").trigger("change"); }); $("#btn-reset-file-comment-character").on("click", (event) => { event.preventDefault(); $("#txt-file-comment-character").val("#"); + $("#txt-file-comment-character").trigger("change"); }); $("#btn-reset-file-na").on("click", (event) => { event.preventDefault(); $("#txt-file-na").val("- NA N/A"); + $("#txt-file-na").trigger("change"); }); var update_preview = (table, filedata, formdata) => { |