mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1816: Cisco VNMC ASA1000v - UI - Infrastructure menu - network service providers - show Cisco VNMC in Advanced zone, hide it in Basic zone.
This commit is contained in:
parent
ea4cb0e988
commit
04be0cdec2
|
|
@ -33,12 +33,14 @@
|
|||
|
||||
$(window).bind('cloudStack.system.serviceProviders.makeHarcodedArray', function(event, data) {
|
||||
var nspHardcodingArray = data.nspHardcodingArray;
|
||||
|
||||
nspHardcodingArray.push({
|
||||
id: id,
|
||||
name: name,
|
||||
state: state
|
||||
});
|
||||
var selectedZoneObj = data.selectedZoneObj;
|
||||
if(selectedZoneObj.networktype == "Advanced"){
|
||||
nspHardcodingArray.push({
|
||||
id: id,
|
||||
name: name,
|
||||
state: state
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -12144,7 +12144,8 @@
|
|||
];
|
||||
|
||||
$(window).trigger('cloudStack.system.serviceProviders.makeHarcodedArray', {
|
||||
nspHardcodingArray: nspHardcodingArray
|
||||
nspHardcodingArray: nspHardcodingArray,
|
||||
selectedZoneObj: selectedZoneObj
|
||||
});
|
||||
|
||||
if(selectedZoneObj.networktype == "Basic") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue