diff options
author | Thomas Schröder <tschroeder_github@outlook.com> | 2024-03-27 18:17:51 +0100 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway+github@gmail.com> | 2024-03-31 21:53:43 +0200 |
commit | 26714de21fd882aa49105e71059767c4f1fcc45e (patch) | |
tree | c8df49c3be5b0f63d7e884cb98fbfa56420793fe | |
parent | d1290829fd589fb5e42d8bb45b57b87547d2a11d (diff) |
luci-mod-status: persist sorting of Wi-Fi associated stations table
Similar to commit 6039925 from @jow-
Add an ID attribute to the dynamically generated Wi-Fi associated
stations table to persist row ordering choice across reloads.
At the luci-mod-network view, the Wi-Fi associated stations table
already has the same id.
Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com>
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js index c4fa31fcf6..5804100db4 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js @@ -227,7 +227,7 @@ return baseclass.extend({ if (!table.lastElementChild) return null; - var assoclist = E('table', { 'class': 'table assoclist' }, [ + var assoclist = E('table', { 'class': 'table assoclist', 'id': 'wifi_assoclist_table' }, [ E('tr', { 'class': 'tr table-titles' }, [ E('th', { 'class': 'th nowrap' }, _('Network')), E('th', { 'class': 'th hide-xs' }, _('MAC address')), |