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>
This commit is contained in:
Gabor Apati-Nagy 2014-09-16 18:08:36 +01:00 committed by Brian Federle
parent 765d402d69
commit 30611be15a

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));
}
@ -268,4 +250,4 @@
}
}
};
}(cloudStack, jQuery));
}(cloudStack, jQuery));