You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/07/09 23:55:21 UTC
git commit: CS-15392: Add error handling to edit user action
Updated Branches:
refs/heads/master fa414bbf0 -> 10e70bcb9
CS-15392: Add error handling to edit user action
Original patch by: Olga Smola <ol...@gmail.com>
Reviewed by: Brian Federle <br...@citrix.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/10e70bcb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/10e70bcb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/10e70bcb
Branch: refs/heads/master
Commit: 10e70bcb9c1ff5c1aa09172dfc6be5c83fde242d
Parents: fa414bb
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jul 9 14:54:15 2012 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Jul 9 14:54:15 2012 -0700
----------------------------------------------------------------------
ui/scripts/accounts.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/10e70bcb/ui/scripts/accounts.js
----------------------------------------------------------------------
diff --git a/ui/scripts/accounts.js b/ui/scripts/accounts.js
index 382510e..6692f85 100644
--- a/ui/scripts/accounts.js
+++ b/ui/scripts/accounts.js
@@ -804,6 +804,9 @@
success: function(json) {
var item = json.updateuserresponse.user;
args.response.success({data:item});
+ },
+ error: function(data) {
+ args.response.error(parseXMLHttpResponse(data));
}
});