mirror of https://github.com/apache/cloudstack.git
bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab for Static NAT IP.
This commit is contained in:
parent
a9b02d8895
commit
abce057d7e
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue