mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes to hide zero items in the menubar
This commit is contained in:
parent
4b8c82b924
commit
a024e7d73f
2 changed files with 14 additions and 19 deletions
|
|
@ -1070,9 +1070,7 @@ print([[
|
|||
system_interface: flag,
|
||||
csrf: "]].. ntop.getRandomCSRFValue() ..[["
|
||||
}, function(data) {
|
||||
|
||||
if (data.success && !$form) location.href = '/';
|
||||
debugger;
|
||||
if (data.success && $form) $form.submit();
|
||||
if (!data.success) {
|
||||
console.error("An error has occurred!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue