diff options
Diffstat (limited to 'fg21sim/webui/static/js')
-rw-r--r-- | fg21sim/webui/static/js/configs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fg21sim/webui/static/js/configs.js b/fg21sim/webui/static/js/configs.js index 6ded8c4..d071be1 100644 --- a/fg21sim/webui/static/js/configs.js +++ b/fg21sim/webui/static/js/configs.js @@ -199,7 +199,8 @@ var setFormConfigSingle = function (name, value) { $("input[name=workdir]").val(workdir); $("input[name=configfile]").val(configfile); } else { - console.warn("Value of 'userconfig' is invalid"); + $("input[name=workdir]").val(""); + $("input[name=configfile]").val(""); } } else { var selector = "input[name='" + name + "']"; |