mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Move updates js to the footer to reduce noise
This commit is contained in:
parent
040dfcbbf8
commit
bd7f390d02
3 changed files with 152 additions and 157 deletions
|
|
@ -177,6 +177,15 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function hasSoftwareUpdatesSupport()
|
||||
return (not ntop.isOffline()
|
||||
and isAdministrator()
|
||||
and ntop.isPackage()
|
||||
and not ntop.isWindows())
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- Note that ifname can be set by Lua.cpp so don't touch it if already defined
|
||||
if((ifname == nil) and (_GET ~= nil)) then
|
||||
ifname = _GET["ifid"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue