diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-05-17 01:10:46 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-05-17 01:10:46 +0200 |
commit | ed0e9a99601bf9c5b8d3267c6c3d1925f3afc2bc (patch) | |
tree | f0062573208861c9ddf5efc6b408d8bbeea9c68e /static/script.js | |
parent | Cleanup + fix for wholeday checkbox. (diff) | |
download | calp-ed0e9a99601bf9c5b8d3267c6c3d1925f3afc2bc.tar.gz calp-ed0e9a99601bf9c5b8d3267c6c3d1925f3afc2bc.tar.xz |
Long events now wholeday per default.
Diffstat (limited to '')
-rw-r--r-- | static/script.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js index 8042c341..7d3d2c29 100644 --- a/static/script.js +++ b/static/script.js @@ -314,6 +314,12 @@ window.onload = function () { popupElement.querySelector("input[name='summary']").focus(); + /* This assumes that it's unchecked beforehand. + Preferably we would just ensure that it's checked here, + But we also need to make sure that the proper handlers + are run then */ + popupElement.querySelector("input[name='wholeday']").click(); + }); } } |