Permalink
Browse files

small fix

  • Loading branch information...
Genki Sugawara
Genki Sugawara committed Apr 22, 2012
1 parent 48e54b7 commit 03eed62fdf011f95f60748f1e8756802c1b68db1
Showing with 1 addition and 1 deletion.
  1. +1 −1 ec2ui/content/ec2ui/createsecgroupdialog.js
@@ -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.