luci-app-opkg: fix filter reset link action
Fixes: #5497 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 02398a33837d1fe8fd23d933ad7ac32025144805)
This commit is contained in:
parent
6df9ae0234
commit
4745991a31
@ -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…
x
Reference in New Issue
Block a user