luci-app-opkg: fix filter reset link action
Fixes: #5497 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
f16a2f3fba
commit
02398a3383
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ function handlePage(ev)
|
||||||
if (filter.value)
|
if (filter.value)
|
||||||
placeholder = [
|
placeholder = [
|
||||||
E('span', {}, _('No packages matching "<strong>%h</strong>".').format(filter.value)), ' (',
|
E('span', {}, _('No packages matching "<strong>%h</strong>".').format(filter.value)), ' (',
|
||||||
E('a', { href: '#', onclick: 'handleReset(event)' }, _('Reset')), ')'
|
E('a', { href: '#', click: handleReset }, _('Reset')), ')'
|
||||||
];
|
];
|
||||||
|
|
||||||
cbi_update_table('#packages', currentDisplayRows.slice(offset, offset + 100),
|
cbi_update_table('#packages', currentDisplayRows.slice(offset, offset + 100),
|
||||||
|
|
Loading…
Reference in a new issue