mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
ffe846673c
commit
f456cda8cc
@ -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));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user