Harvested interface view code and replaced with simpler one

This commit is contained in:
Luca 2015-11-07 10:47:29 +01:00
parent 0cb43bbb8e
commit 86b793d006
23 changed files with 378 additions and 644 deletions

View file

@ -340,6 +340,8 @@ function drawRRD(ifid, host, rrdFile, zoomLevel, baseurl, show_timeseries,
end
if ntop.isPro() then
_ifstats = interface.getStats()
if(_ifstats.isView == true) then topArray = nil end
drawProGraph(ifid, host, rrdFile, zoomLevel, baseurl, show_timeseries, selectedEpoch, selected_epoch_sanitized, topArray)
return
end