luci-base: form.js: rendering fixes for grid sections
authorJo-Philipp Wich <jo@mein.io>
Wed, 12 Feb 2020 07:16:06 +0000 (08:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit3005b148152244e4db928fa0977564097c71f1f4
tree0dfd32a46a812eb8e872776b1f08b1639a58a6e5
parentd51e0d807adf3739a93a35997a021c3ec0de6891
luci-base: form.js: rendering fixes for grid sections

 - Ensure that last header cell is rendered for grid sections without
   sorting or addremove actions
 - Don't skip header cells for optional options

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9bb78b5cd842f94cbcaf00cc5b19c1e3b9669d93)
modules/luci-base/htdocs/luci-static/resources/form.js