Implements Mac page AJAX refresh and configuration

Implements #1437
This commit is contained in:
Simone Mainardi 2017-09-11 19:06:11 +02:00
parent f515d93316
commit bb9883d423
8 changed files with 192 additions and 87 deletions

View file

@ -1714,7 +1714,8 @@ end
function poolDropdown(pool_id, exclude)
local output = {}
exclude = exclude or {[host_pools_utils.DEFAULT_POOL_ID]=true}
--exclude = exclude or {[host_pools_utils.DEFAULT_POOL_ID]=true}
exclude = exclude or {}
for _,pool in ipairs(host_pools_utils.getPoolsList(ifId)) do
if (not exclude[pool.id]) or (pool.id == pool_id) then