incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: CS-15392: Add error handling to edit user action
Date Mon, 09 Jul 2012 21:55:21 GMT
Updated Branches:
  refs/heads/master fa414bbf0 -> 10e70bcb9


CS-15392: Add error handling to edit user action

Original patch by: Olga Smola <olya.smola@gmail.com>
Reviewed by: Brian Federle <brian.federle@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 <brian.federle@citrix.com>
Authored: Mon Jul 9 14:54:15 2012 -0700
Committer: Brian Federle <brian.federle@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));
                     }
                   });
 


Mime
View raw message