cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to 30611be
Date Fri, 19 Sep 2014 16:46:38 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 765d402d6 -> 30611be15


CLOUDSTACK-7561: UI: After creating a new account, the "Add Account" dialog remains open

-Removed unused code that was causing javascript exception

Signed-off-by: Brian Federle <brian.federle@citrix.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/30611be1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/30611be1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/30611be1

Branch: refs/heads/master
Commit: 30611be15abd4cd8843c10ddb2d3b131aea2cda3
Parents: 765d402
Author: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Authored: Tue Sep 16 18:08:36 2014 +0100
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Fri Sep 19 09:45:49 2014 -0700

----------------------------------------------------------------------
 ui/scripts/accountsWizard.js | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/30611be1/ui/scripts/accountsWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/accountsWizard.js b/ui/scripts/accountsWizard.js
index f022193..6b0dd19 100644
--- a/ui/scripts/accountsWizard.js
+++ b/ui/scripts/accountsWizard.js
@@ -222,12 +222,6 @@
                         dataType: "json",
                         type: "POST",
                         async: false,
-                        success: function(json) {
-                            var count = json.ldapuserresponse.count;
-                            args.response.success({
-                                data: count
-                            });
-                        },
                         error: function(XMLHttpResponse) {
                             args.response.error(parseXMLHttpResponse(XMLHttpResponse));
                         }
@@ -238,12 +232,6 @@
                         dataType: "json",
                         type: "POST",
                         async: false,
-                        success: function(json) {
-                            var item = json.createaccountresponse.account;
-                            args.response.success({
-                                data: item
-                            });
-                        },
                         error: function(XMLHttpResponse) {
                             args.response.error(parseXMLHttpResponse(XMLHttpResponse));
                         }
@@ -255,12 +243,6 @@
                     dataType: "json",
                     type: "POST",
                     async: false,
-                    success: function(json) {
-                        var item = json.createaccountresponse.account;
-                        args.response.success({
-                            data: item
-                        });
-                    },
                     error: function(XMLHttpResponse) {
                         args.response.error(parseXMLHttpResponse(XMLHttpResponse));
                     }
@@ -268,4 +250,4 @@
             }
         }        
     };
-}(cloudStack, jQuery));
\ No newline at end of file
+}(cloudStack, jQuery));


Mime
View raw message