CS-16018: cloudstack 3.0 UI - create VPN Customer Gateway - IKE DH, Perfect Forward Secrecy dropdown - restore blank option back and label it as "None".

This commit is contained in:
Jessica Wang 2012-08-16 11:07:48 -07:00 committed by Alex Huang
parent 516cfb5300
commit 469b5f861b
1 changed files with 4 additions and 4 deletions

View File

@ -4028,7 +4028,7 @@
label: 'IKE DH',
select: function(args) {
var items = [];
// items.push({id: '', description: ''});
items.push({id: '', description: 'None'});
items.push({id: 'modp1024', description: 'Group 2(modp1024)'});
items.push({id: 'modp1536', description: 'Group 5(modp1536)'});
args.response.success({data: items});
@ -4060,7 +4060,7 @@
label: 'Perfect Forward Secrecy',
select: function(args) {
var items = [];
// items.push({id: '', description: ''});
items.push({id: '', description: 'None'});
items.push({id: 'modp1024', description: 'Group 2(modp1024)'});
items.push({id: 'modp1536', description: 'Group 5(modp1536)'});
args.response.success({data: items});
@ -4284,7 +4284,7 @@
isEditable: true,
select: function(args) {
var items = [];
items.push({id: '', description: ''});
items.push({id: '', description: 'None'});
items.push({id: 'modp1024', description: 'Group 2(modp1024)'});
items.push({id: 'modp1536', description: 'Group 5(modp1536)'});
args.response.success({data: items});
@ -4319,7 +4319,7 @@
isEditable: true,
select: function(args) {
var items = [];
items.push({id: '', description: ''});
items.push({id: '', description: 'None'});
items.push({id: 'modp1024', description: 'Group 2(modp1024)'});
items.push({id: 'modp1536', description: 'Group 5(modp1536)'});
args.response.success({data: items});