luci-app-opkg: fix filter reset link action
Fixes: #5497
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 02398a3383
)
This commit is contained in:
parent
6df9ae0234
commit
4745991a31
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ function handlePage(ev)
|
|||
if (filter.value)
|
||||
placeholder = [
|
||||
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),
|
||||
|
|
Loading…
Reference in a new issue