mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Makes historical saves per-user per-interface
This commit is contained in:
parent
ec691b8148
commit
0d7873d7ac
2 changed files with 5 additions and 3 deletions
|
|
@ -325,7 +325,6 @@ var emptyBreadCrumb = function(){
|
|||
var refreshBreadCrumbInterface = function(){
|
||||
emptyBreadCrumb();
|
||||
$("#bc-talkers").append('<li>Interface ]] print(getInterfaceName(ifid)) print [[</li>');
|
||||
$('#historical-container').attr("ifname", "]] print(getInterfaceName(ifid)) print [[");
|
||||
$('#historical-container').removeAttr("host");
|
||||
$('#historical-container').removeAttr("peer");
|
||||
}
|
||||
|
|
@ -548,6 +547,8 @@ $('a[href="#historical-top-talkers"]').on('shown.bs.tab', function (e) {
|
|||
|
||||
var target = $(e.target).attr("href"); // activated tab
|
||||
|
||||
$('#historical-container').attr("ifname", "]] print(getInterfaceName(ifid)) print [[");
|
||||
|
||||
// populate favourites dropdowns
|
||||
populateFavourites('historical-container', 'top_talkers', 'talker', 'top_talkers_talker');
|
||||
populateFavourites('historical-container', 'top_talkers', 'apps_per_host_pair', 'top_talkers_host_pairs');
|
||||
|
|
@ -950,6 +951,7 @@ $('a[href="#historical-top-apps"]').on('shown.bs.tab', function (e) {
|
|||
// set epoch_begin and epoch_end status information to the container div
|
||||
$('#historical-apps-container').attr("epoch_begin", "]] print(tostring(epoch_begin)) print[[");
|
||||
$('#historical-apps-container').attr("epoch_end", "]] print(tostring(epoch_end)) print[[");
|
||||
$("#historical-apps-container").attr("ifname", "]] print(getInterfaceName(ifid)) print [[");
|
||||
|
||||
// populate favourites dropdowns
|
||||
populateFavourites('historical-apps-container', 'top_applications', 'app', 'top_applications_app');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue