aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/webui/static/js/configs.js3
-rw-r--r--fg21sim/webui/templates/configs.html2
2 files changed, 3 insertions, 2 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 + "']";
diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html
index 2d728f6..be2c0d2 100644
--- a/fg21sim/webui/templates/configs.html
+++ b/fg21sim/webui/templates/configs.html
@@ -74,7 +74,7 @@
<label for="conf-common-components-gsync">galactic/freefree</label>
</div>
<div class="form-group">
- <input class="form-control" type="checkbox" id="conf-common-components-gsnr" name="common/components" value="galactic/freefree" />
+ <input class="form-control" type="checkbox" id="conf-common-components-gsnr" name="common/components" value="galactic/snr" />
<label for="conf-common-components-gsync">galactic/snr</label>
</div>
<div class="form-group">