mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix talking_with_list dropdown entries printing. #(7210) (#7211)
Implemented as requested
This commit is contained in:
parent
8eb2884613
commit
45c2055ac2
1 changed files with 6 additions and 1 deletions
|
|
@ -1701,7 +1701,12 @@ function printActiveFlowsDropdown(base_url, page_params, ifstats, flowstats, is_
|
|||
<ul class="dropdown-menu scrollable-dropdown" role="menu">\
|
||||
<li><a class="dropdown-item" href="]] print(getPageUrl(base_url, talking_with_params)) print[[">]] print(i18n("flows_page.all_hosts")) print[[</a></li>\]]
|
||||
printDropdownEntries(talking_with_list, base_url, talking_with_params, "talking_with", page_params.talking_with)
|
||||
print[[\
|
||||
|
||||
-- Check if talking_with_list is empty to print \ else is going to didn't call get_flows_data and html crash
|
||||
if #talking_with_list >0 then
|
||||
print[[\]]
|
||||
end
|
||||
print[[
|
||||
</ul>\
|
||||
</div>\
|
||||
']]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue