diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 09:26:25 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 09:26:25 +0800 |
commit | f0c5b31f7ae844922a056dcea40562144046496d (patch) | |
tree | ac2231f3a4ead04c92945c513b6b30c9789df0da /fg21sim/webui/static/js/configs.js | |
parent | 3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf (diff) | |
download | fg21sim-f0c5b31f7ae844922a056dcea40562144046496d.tar.bz2 |
webui: Fix the wrong value "galactic/freefree" to "galactic/snr"
configs.js: Update "workdir" and "configfile" to be sync with server.
Diffstat (limited to 'fg21sim/webui/static/js/configs.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 + "']"; |