bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab for Static NAT IP.

This commit is contained in:
Jessica Wang 2011-08-19 11:30:07 -07:00
parent a9b02d8895
commit abce057d7e
1 changed files with 2 additions and 0 deletions

View File

@ -848,9 +848,11 @@ function ipToRightPanel($midmenuItem1) {
if(ipObj.isstaticnat == true) {
if(g_firewallRuleUiEnabled == true) {
$("#tab_firewall").show();
$("#tab_port_range").hide();
}
else {
$("#tab_firewall").hide();
$("#tab_port_range").show();
}
$("#tab_port_forwarding, #tab_load_balancer, #tab_vpn").hide();