luci-base: ui.js: table enhancements
authorJo-Philipp Wich <[email protected]>
Tue, 22 Nov 2022 09:08:44 +0000 (10:08 +0100)
committerJo-Philipp Wich <[email protected]>
Mon, 5 Dec 2022 09:47:21 +0000 (10:47 +0100)
commit4ca7a8d22f21abf28a42eb06ea13250ce5c64cd8
tree76342a82c975bcedbc77ff5bb9866d08c8a5eda5
parent44ecf5f3f7dc0abee0bfae4462023ebaddcac715
luci-base: ui.js: table enhancements

 - Gracefully handle cells without innerText
 - Properly handle `DocumentFragment` call values on table update
 - Introduce ability to fetch actual cell value for sorting purposes from
   `data-value` attribute

Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 90a2b1eaeb58b7169b31fdc097c5bfe6f557c778)
modules/luci-base/htdocs/luci-static/resources/ui.js