aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/__init__.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-11 23:29:55 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-11 23:29:55 +0800
commitbb0ee7f9f713a4371f3837486293f85aa0fbaec8 (patch)
treeaa7ea4f983d322c886dc6b59018de10863f3e039 /fg21sim/__init__.py
parent317091533e1206a438a2f217aed98d72c83ce576 (diff)
downloadfg21sim-bb0ee7f9f713a4371f3837486293f85aa0fbaec8.tar.bz2
webui: Fix various bugs with get/set configurations
* Fix bug with getting value of the configuration form. "null" is returned if the requested configuration field does not exist or has empty value. Boolean "true/false" is returned if the requested field is a single checkbox with "data-type=boolean". * Improve the "setFormConfigSingle()" to support the boolean single checkbox field. * Improve the "joinPath()" to validate the two input paths to be joined, and return "null" if both paths are empty. * Implement "updateFormConfigStatus()" and enable "#conf-recheck" button.
Diffstat (limited to 'fg21sim/__init__.py')
0 files changed, 0 insertions, 0 deletions