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>
(cherry picked from commit 30611be15abd4cd8843c10ddb2d3b131aea2cda3)
This commit is contained in:
Gabor Apati-Nagy 2014-09-16 18:08:36 +01:00 committed by David Nalley
parent ffe846673c
commit f456cda8cc

View File

@ -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));
}