mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 7452: after creating a new account, clicking All Accounts menu.
This commit is contained in:
parent
49d60a4484
commit
3b44a7a089
@ -215,6 +215,10 @@ function initAddAccountDialog() {
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
$("#leftmenu_account_all_accounts").click();
|
||||
|
||||
//comment the following section for fixing Bug 7452 ("Adding an account under My Account will result in a duplicate")
|
||||
/*
|
||||
var user = json.createuserresponse.user;
|
||||
var item;
|
||||
$.ajax({
|
||||
@ -229,7 +233,8 @@ function initAddAccountDialog() {
|
||||
});
|
||||
accountToMidmenu(item, $midmenuItem1);
|
||||
bindClickToMidMenu($midmenuItem1, accountToRightPanel, getMidmenuId);
|
||||
afterAddingMidMenuItem($midmenuItem1, true);
|
||||
afterAddingMidMenuItem($midmenuItem1, true);
|
||||
*/
|
||||
},
|
||||
error: function(XMLHttpResponse) {
|
||||
afterAddingMidMenuItem($midmenuItem1, false, parseXMLHttpResponse(XMLHttpResponse));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user