mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Hides saved application searches in historical host browsing mode
Historical top application searches have a different meaning in the historical browsing contex and are thus hidden.
This commit is contained in:
parent
bcf65a13ee
commit
7f40994c95
1 changed files with 6 additions and 0 deletions
|
|
@ -805,8 +805,14 @@ var populatePeersPerHostByApplication = function(host, proto_id){
|
|||
var populateHostTopAppsTable = function(host){
|
||||
emptyAppsBreadCrumb();
|
||||
$('#historical-apps-container').attr("host", host);
|
||||
$('#historical-apps-container').removeAttr("proto");
|
||||
$('#historical-apps-container').removeAttr("proto_id");
|
||||
$("#bc-apps").append('<li>Protocols spoken by ' + host +'</li>');
|
||||
|
||||
// remove the favourite top apps dropdowns
|
||||
$('#top_applications_app').parent().closest('div').detach();
|
||||
$('#top_applications_host_peers_by_app').parent().closest('div').detach();
|
||||
|
||||
hideAll("app-talkers");
|
||||
hideAll("peers-by-app");
|
||||
showOne('historical-interface-apps', 'historical-interface-top-apps-table');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue