mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user