mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	IP Address page - get network data and store it into middle menu item (for later use).
This commit is contained in:
		
							parent
							
								
									928ab98dc6
								
							
						
					
					
						commit
						170a2bc84b
					
				| @ -832,7 +832,21 @@ function ipJsonToDetailsTab() { | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     });         |     });         | ||||||
|         |          | ||||||
|  |     if(ipObj.networkid != null) {   | ||||||
|  |         $.ajax({             | ||||||
|  |             data: createURL("command=listNetworks&id="+ipObj.networkid+"&isSystem=true"), | ||||||
|  |             dataType: "json", | ||||||
|  |             async: false, | ||||||
|  |             success: function(json) {                           | ||||||
|  |                 var items = json.listnetworksresponse.network; | ||||||
|  |                 if(items != null && items.length > 0) {                    | ||||||
|  |                     $midmenuItem1.data("networkObj", items[0]);     | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         });        | ||||||
|  |     } | ||||||
|  |            | ||||||
|     $thisTab.find("#grid_header_title").text(fromdb(ipObj.ipaddress));        |     $thisTab.find("#grid_header_title").text(fromdb(ipObj.ipaddress));        | ||||||
|     $thisTab.find("#ipaddress").text(fromdb(ipObj.ipaddress)); |     $thisTab.find("#ipaddress").text(fromdb(ipObj.ipaddress)); | ||||||
|     $thisTab.find("#zonename").text(fromdb(ipObj.zonename)); |     $thisTab.find("#zonename").text(fromdb(ipObj.zonename)); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user