diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-11 23:29:55 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-11 23:29:55 +0800 |
commit | bb0ee7f9f713a4371f3837486293f85aa0fbaec8 (patch) | |
tree | aa7ea4f983d322c886dc6b59018de10863f3e039 /fg21sim/configs/checkers.py | |
parent | 317091533e1206a438a2f217aed98d72c83ce576 (diff) | |
download | fg21sim-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/configs/checkers.py')
0 files changed, 0 insertions, 0 deletions