mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Implements AJAX refresh of hosts custom column
This commit is contained in:
parent
c40bfb1a8e
commit
6d7d6c87f6
4 changed files with 25 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
-- (C) 2013-18 - ntop.org
|
||||
--
|
||||
|
||||
dirs = ntop.getDirs()
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
|
|
@ -10,7 +10,7 @@ require "flow_utils"
|
|||
|
||||
local json = require ("dkjson")
|
||||
|
||||
host_info = url2hostinfo(_GET)
|
||||
local host_info = url2hostinfo(_GET)
|
||||
|
||||
if((host_info ~= nil) and (host_info["host"] ~= nil)) then
|
||||
interface.select(ifname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue