mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +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>
This commit is contained in:
parent
765d402d69
commit
30611be15a
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user