summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorVinicius Coque <vcoque@gmail.com>2011-10-24 20:34:39 -0200
committerVinicius Coque <vcoque@gmail.com>2011-10-24 20:34:39 -0200
commitea1cea05ee195fd56eedd095bf25e89b27762972 (patch)
tree08df8628cb59458b66368d40ca6112c96698a8af /usr/local/www/wizard.php
parentfc4fa6de31b353951da241a2bf594ba82d4600eb (diff)
downloadpfsense-ea1cea05ee195fd56eedd095bf25e89b27762972.zip
pfsense-ea1cea05ee195fd56eedd095bf25e89b27762972.tar.gz
Converting javascript code from prototype to jQuery
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 493fab1..a136f7b 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -282,7 +282,7 @@ function showchange() {
foreach($showfields as $showfield) {
$showfield = strtolower($showfield);
//print "\t\t" . 'document.iform.' . $showfield . ".display =\"none\";\n";
- print "\t\t \$('". $showfield . "').hide();";
+ print "\t\t jQuery('#". $showfield . "').hide();";
}
}
print "\t" . '} else {' . "\n";
@@ -291,7 +291,7 @@ function showchange() {
foreach($showfields as $showfield) {
$showfield = strtolower($showfield);
#print "\t\t" . 'document.iform.' . $showfield . ".display =\"\";\n";
- print "\t\t \$('". $showfield . "').show();";
+ print "\t\t jQuery('#". $showfield . "').show();";
}
}
print "\t" . '}' . "\n";
OpenPOWER on IntegriCloud