bug 7134: VM Wizard - step 4 - basic zone - allow the user to select the default security group.

This commit is contained in:
Jessica Wang 2011-01-11 10:08:33 -08:00
parent ffe387ab5b
commit 4e967e3568
1 changed files with 1 additions and 2 deletions

View File

@ -394,8 +394,7 @@ function initVMWizard() {
var $securityGroupSelect = $vmPopup.find("#wizard_security_groups").empty();
if (items != null && items.length > 0) {
for (var i = 0; i < items.length; i++) {
if(items[i].name != "default")
$securityGroupSelect.append("<option value='" + fromdb(items[i].name) + "'>" + fromdb(items[i].name) + "</option>");
$securityGroupSelect.append("<option value='" + fromdb(items[i].name) + "'>" + fromdb(items[i].name) + "</option>");
}
}
}