new UI - IP address - AssociateIpAddress API returns objects in different structure. This is related UI change.

This commit is contained in:
Jessica Wang 2010-11-08 15:05:15 -08:00
parent 9b1d0a7054
commit 606fcdf02f
1 changed files with 1 additions and 2 deletions

View File

@ -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);