luci-app-opkg: flush menu cache after opkg actions
This is a partial backport of dc57e4bc6c
Fixes: #4077
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
This commit is contained in:
parent
c3a0c6045c
commit
0d0ab01a64
1 changed files with 3 additions and 0 deletions
|
@ -775,6 +775,9 @@ function handleOpkg(ev)
|
|||
E('div', {
|
||||
'class': 'btn',
|
||||
'click': L.bind(function(res) {
|
||||
if (L.ui.menu && L.ui.menu.flushCache)
|
||||
L.ui.menu.flushCache();
|
||||
|
||||
L.hideModal();
|
||||
updateLists();
|
||||
|
||||
|
|
Loading…
Reference in a new issue