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>
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')),