diff --git a/src/main/resources/static/js/gw.host.js b/src/main/resources/static/js/gw.host.js index c5021702e..f216c858c 100644 --- a/src/main/resources/static/js/gw.host.js +++ b/src/main/resources/static/js/gw.host.js @@ -814,6 +814,13 @@ GW.host = { " "); }, + + expand: function(one){ + + console.log("EXPAND host type") + + $("#host_folder_"+one.type+"_target").collapse("show"); + }, list: function(msg){ @@ -995,6 +1002,8 @@ GW.host = { msg = $.parseJSON(msg); GW.host.addMenuItem(msg); + + GW.host.expand(msg); callback();