mirror of https://github.com/apache/cloudstack.git
new UI - IP address - AssociateIpAddress API returns objects in different structure. This is related UI change.
This commit is contained in:
parent
9b1d0a7054
commit
606fcdf02f
|
|
@ -64,8 +64,7 @@ function afterLoadIpJSP() {
|
|||
data: createURL("command=associateIpAddress&zoneid="+zoneid),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var item = json.associateipaddressresponse;
|
||||
//$("#dialog_info").html("<p>The IP address <b>"+items[0].ipaddress+"</b> has been assigned to your account</p>").dialog("open");
|
||||
var item = json.associateipaddressresponse.ipaddress;
|
||||
ipToMidmenu(item, $midmenuItem1);
|
||||
bindClickToMidMenu($midmenuItem1, ipToRightPanel, ipGetMidmenuId);
|
||||
afterAddingMidMenuItem($midmenuItem1, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue