From 2c1838020992b4ffd98b1851c349631aedb1f8d5 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 10 Jan 2012 10:45:29 -0800 Subject: [PATCH] bug 12931: cloudstack 3.0 new UI - create network offering - add a checkbox "conserve mode", default as unchecked. --- ui/scripts/configuration.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index dacbce8e731..e4379f326d3 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -1073,6 +1073,12 @@ inputData['specifyVlan'] = false; } + if (inputData['conservemode'] == 'on') { + inputData['conservemode'] = true; + } else { + inputData['conservemode'] = false; + } + // Make service provider map var serviceProviderIndex = 0; $.each(serviceProviderMap, function(key, value) { @@ -1277,6 +1283,8 @@ } }, + conservemode: { label: 'Conserve mode', isBoolean: true }, + tags: { label: 'Tags' } } },