From 0ca46632dbaf8ec904782b47708f0ba042be3d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 29 Jan 2014 13:19:31 +0100 Subject: [PATCH] Feature #2562: Remove unneeded code, oned will create a default zone --- src/sunstone/public/js/plugins/groups-tab.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sunstone/public/js/plugins/groups-tab.js b/src/sunstone/public/js/plugins/groups-tab.js index b6a535a5ef..7eedb41ae5 100644 --- a/src/sunstone/public/js/plugins/groups-tab.js +++ b/src/sunstone/public/js/plugins/groups-tab.js @@ -1236,13 +1236,6 @@ function setupCreateGroupDialog(){ $.each(obj_list,function(){ add_resource_tab(this.ZONE.ID, this.ZONE.NAME, dialog); }); - - // ================================================================= - // TODO: Development, one zone added if zone pool is empty - if (obj_list.length == 0){ - add_resource_tab(0, "Local Zone", dialog); - } - // ================================================================= }, error: onError });