luci-base: form.js: fix TableSection descriptions row rendering
authorAnton Kikin <a.kikin@tano-systems.com>
Sun, 19 Apr 2020 02:55:03 +0000 (05:55 +0300)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit09fcfebe70b67eb5e374664c284b1d18bf2bacaf
treef94cd3bed3d8c778694af2a56b2253bd69b17378
parent1c935a996380ac4cdb3a0befb51ce85496523fe6
luci-base: form.js: fix TableSection descriptions row rendering

In some cases, a table cell at actions column of a descriptions row
may not be rendered. For example, this happens for GridSection when
sorting is disabled:

    s = m.section(form.GridSection, 'section_type');
    s.sortable = false;

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit da0e974db5865daf6d634ae5f7649f5b5fc2ef31)
modules/luci-base/htdocs/luci-static/resources/form.js