mirror of https://github.com/apache/cloudstack.git
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.
It is defined as follows:
enableStaticNAT: {
...
action: {
noAdd: true,
custom: cloudStack.uiCustom.enableStaticNAT({
// VPC
tierSelect: function(args) {
args.response.success({
data: [
{ id: '1', description: 'VPC 1' },
{ id: '2', description: 'VPC 2' }
]
});
},
...
|
||
|---|---|---|
| .. | ||
| ui | ||
| ui-custom | ||
| accounts.js | ||
| cloud.core.callbacks.js | ||
| cloudStack.js | ||
| configuration.js | ||
| dashboard.js | ||
| domains.js | ||
| events.js | ||
| globalSettings.js | ||
| installWizard.js | ||
| instanceWizard.js | ||
| instances.js | ||
| lbStickyPolicy.js | ||
| network.js | ||
| projects.js | ||
| sharedFunctions.js | ||
| storage.js | ||
| system.js | ||
| templates.js | ||
| vpc.js | ||
| zoneWizard.js | ||