summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2011-10-10 20:59:32 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2011-10-10 21:00:06 -0300
commitdf39dd8ab4e41c3b668ce8dd9c8b86d7dcceb743 (patch)
tree635ffcd19347de3991a5dcb8d2b62e9f30706f76 /usr/local/www/firewall_virtual_ip_edit.php
parent0491163b1af109660e26cd29bde20369179241ae (diff)
downloadpfsense-df39dd8ab4e41c3b668ce8dd9c8b86d7dcceb743.zip
pfsense-df39dd8ab4e41c3b668ce8dd9c8b86d7dcceb743.tar.gz
replacing prototype by jQuery on firewall_*
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 90a733c..b8ba2ac 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -309,7 +309,7 @@ function enable_change(enable_over) {
document.iform.subnet_bits.disabled = 0;
document.iform.subnet.disabled = 0;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
if (note.firstChild == null) {
note.appendChild(carpnote);
} else {
@@ -325,7 +325,7 @@ function enable_change(enable_over) {
document.iform.subnet_bits.disabled = 1;
document.iform.subnet.disabled = 0;
document.iform.noexpand.disabled = 0;
- $('noexpandrow').style.display = '';
+ jQuery('#noexpandrow').css('display','');
if (note.firstChild == null) {
note.appendChild(proxyarpnote);
} else {
@@ -340,7 +340,7 @@ function enable_change(enable_over) {
}
document.iform.subnet.disabled = 0;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
}
if (get_radio_value(document.iform.mode) == "ipalias") {
document.iform.type.disabled = 1;
@@ -349,7 +349,7 @@ function enable_change(enable_over) {
document.iform.subnet_bits.disabled = 0;
document.iform.subnet.disabled = 0;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
}
if (get_radio_value(document.iform.mode) == "carpdev-dhcp") {
document.iform.type.disabled = 1;
@@ -364,7 +364,7 @@ function enable_change(enable_over) {
document.iform.advskew.disabled = 0;
document.iform.advbase.disabled = 0;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
}
typesel_change();
}
@@ -374,13 +374,13 @@ function typesel_change() {
document.iform.subnet.disabled = 0;
if((get_radio_value(document.iform.mode) == "proxyarp")) document.iform.subnet_bits.disabled = 1;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
break;
case 1: // network
document.iform.subnet.disabled = 0;
document.iform.subnet_bits.disabled = 0;
document.iform.noexpand.disabled = 0;
- $('noexpandrow').style.display = '';
+ jQuery('#noexpandrow').css('display','');
//document.iform.range_from.disabled = 1;
//document.iform.range_to.disabled = 1;
break;
@@ -388,7 +388,7 @@ function typesel_change() {
document.iform.subnet.disabled = 1;
document.iform.subnet_bits.disabled = 1;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
//document.iform.range_from.disabled = 0;
//document.iform.range_to.disabled = 0;
break;
@@ -396,7 +396,7 @@ function typesel_change() {
document.iform.subnet.disabled = 1;
document.iform.subnet_bits.disabled = 0;
document.iform.noexpand.disabled = 1;
- $('noexpandrow').style.display = 'none';
+ jQuery('#noexpandrow').css('display','none');
//document.iform.range_from.disabled = 0;
//document.iform.range_to.disabled = 0;
break;
OpenPOWER on IntegriCloud