You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/11/14 23:38:29 UTC
git commit: updated refs/heads/4.3 to b27de95
Updated Branches:
refs/heads/4.3 9ed446a5a -> b27de95d7
CLOUDSTACK-3154: UI > zone detail > remove VMware data center action > if API returns error, stop spinning wheel and show returned error text in a pop up dialog.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b27de95d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b27de95d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b27de95d
Branch: refs/heads/4.3
Commit: b27de95d71d2e2eead53fcccd6d653ff8ccd6230
Parents: 9ed446a
Author: Jessica Wang <je...@apache.org>
Authored: Thu Nov 14 14:35:49 2013 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Nov 14 14:38:21 2013 -0800
----------------------------------------------------------------------
ui/scripts/system.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b27de95d/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 6062135..a211a7f 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -6061,6 +6061,10 @@
args.response.success({
data: args.context.physicalResources[0]
});
+ },
+ error: function(XMLHttpResponse) {
+ var errorMsg = parseXMLHttpResponse(XMLHttpResponse);
+ args.response.error(errorMsg);
}
});
},
@@ -16956,7 +16960,7 @@
var zoneActionfilter = function(args) {
var jsonObj = args.context.item;
var allowedActions = ['enableSwift'];
-
+
if (jsonObj.vmwaredcId == null)
allowedActions.push('addVmwareDc');
else