mirror of https://github.com/apache/cloudstack.git
cloudStack 3.0 new UI - system - fix a JS error "args.context.hosts is undefined" after adding a host and clicking the newly created host in listView.
This commit is contained in:
parent
cc2fa56457
commit
214f86311f
|
|
@ -748,8 +748,7 @@
|
|||
//args.data.networkofferingid is null when networkofferingid field is hidden
|
||||
if(args.data.networkofferingid != null && args.data.networkofferingid != selectedGuestNetworkObj.networkofferingid)
|
||||
array1.push("&networkofferingid=" + todb(args.data.networkofferingid)); //???
|
||||
|
||||
//debugger;
|
||||
|
||||
//args.data.networkdomain is null when networkdomain field is hidden
|
||||
if(args.data.networkdomain != null && args.data.networkdomain != selectedGuestNetworkObj.networkdomain)
|
||||
array1.push("&networkdomain=" + todb(args.data.networkdomain));
|
||||
|
|
@ -5629,6 +5628,7 @@
|
|||
id: 'hosts',
|
||||
listView: {
|
||||
section: 'hosts',
|
||||
id: 'hosts',
|
||||
fields: {
|
||||
name: { label: 'Name' },
|
||||
zonename: { label: 'Zone' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue