Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Apr 22, 2012
1 parent 48e54b7 commit 03eed62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec2ui/content/ec2ui/createsecgroupdialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var ec2_SecGroupCreator = {
var menulist = document.getElementById('ec2ui.newsecgroup.vpcId');

for (var i in vpcs) {
menulist.appendItem(vpcs[i].cidr + (vpcs[i].tag == null ? '' : " [" + vpcs[i].tag + "]"), vpcs[i].id);
menulist.appendItem(vpcs[i].cidr + (vpcs[i].tag == null ? (" [" + vpcs[i].id + "]") : (" [" + vpcs[i].tag + "]")), vpcs[i].id);
}
}
}

0 comments on commit 03eed62

Please sign in to comment.