diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-09-28 03:12:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-09-28 03:12:56 +0200 |
commit | 6cf6a81d38ceeaedd122ebc97f88c8fca034b57e (patch) | |
tree | f53ec3377f108487b81f4bafb1861e23d50de210 | |
parent | Groundwork for adding new fields from frontend. (diff) | |
download | calp-6cf6a81d38ceeaedd122ebc97f88c8fca034b57e.tar.gz calp-6cf6a81d38ceeaedd122ebc97f88c8fca034b57e.tar.xz |
Add the sad sad boolean.
Diffstat (limited to '')
-rw-r--r-- | static/script.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js index b94d0f2b..f5b137a3 100644 --- a/static/script.js +++ b/static/script.js @@ -728,6 +728,10 @@ window.onload = function () { })); break; + case 'boolean': + value.type = 'checkbox'; + break; + case 'period': value.type = 'text'; // TODO validate /P\d*H/ typ @@ -790,6 +794,7 @@ let all_types = [ 'utc-offset', 'cal-address', 'recur', + 'boolean', ] |