From dda2dffa1d500522804710e9f1bc3192c82600d5 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Wed, 31 Aug 2016 10:32:20 +0200 Subject: [PATCH] Bug #4553: In vCenter import results dialog there are two import buttons --- .../tabs/datastores-tab/form-panels/import.js | 1 - .../public/app/utils/vcenter/datastores.js | 16 ++------------ .../public/app/utils/vcenter/images.js | 22 +++++-------------- .../public/app/utils/vcenter/networks.js | 16 ++------------ .../public/app/utils/vcenter/templates.js | 18 +++------------ 5 files changed, 12 insertions(+), 61 deletions(-) diff --git a/src/sunstone/public/app/tabs/datastores-tab/form-panels/import.js b/src/sunstone/public/app/tabs/datastores-tab/form-panels/import.js index e6b9a1da41..874c87f183 100644 --- a/src/sunstone/public/app/tabs/datastores-tab/form-panels/import.js +++ b/src/sunstone/public/app/tabs/datastores-tab/form-panels/import.js @@ -108,7 +108,6 @@ define(function(require) { var that = this; Sunstone.hideFormPanelLoading(TAB_ID); - Sunstone.disableFormPanelSubmit(TAB_ID); this.vCenterDatastores.import(context); diff --git a/src/sunstone/public/app/utils/vcenter/datastores.js b/src/sunstone/public/app/utils/vcenter/datastores.js index 860c29fff6..b1f106d631 100644 --- a/src/sunstone/public/app/utils/vcenter/datastores.js +++ b/src/sunstone/public/app/utils/vcenter/datastores.js @@ -81,7 +81,7 @@ define(function(require) { $.each(response, function(datacenter_name, datastores){ var content; if (datastores.length == 0) { - content = + content = '
' + '' + '