summaryrefslogtreecommitdiffstats
path: root/usr/local/www/load_balancer_relay_protocol_edit.php
diff options
context:
space:
mode:
authorVinicius Coque <vcoque@gmail.com>2012-01-16 23:43:00 -0200
committerVinicius Coque <vcoque@gmail.com>2012-01-16 23:43:00 -0200
commit9feaf772fbe821868b03cd89caf70d162534502b (patch)
tree9d5ebd416bc110924a63cd4ee434f668dad6bd9b /usr/local/www/load_balancer_relay_protocol_edit.php
parenta59c7fa63f5b1a3d75d17719322e455e01459610 (diff)
downloadpfsense-9feaf772fbe821868b03cd89caf70d162534502b.zip
pfsense-9feaf772fbe821868b03cd89caf70d162534502b.tar.gz
replacing prototype with jQuery on load balancer pages
Diffstat (limited to 'usr/local/www/load_balancer_relay_protocol_edit.php')
-rwxr-xr-xusr/local/www/load_balancer_relay_protocol_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/load_balancer_relay_protocol_edit.php b/usr/local/www/load_balancer_relay_protocol_edit.php
index a885aa2..8a2320c 100755
--- a/usr/local/www/load_balancer_relay_protocol_edit.php
+++ b/usr/local/www/load_balancer_relay_protocol_edit.php
@@ -154,22 +154,22 @@ function updateType(t){
$t = $types;
foreach ($t as $k => $v) {
if ($k != $key) {
- echo " $('{$k}').hide();\n";
+ echo " jQuery('#{$k}').hide();\n";
}
}
echo " }\n";
}
?>
}
- $(t).appear();
+ jQuery('#' + t).show();
}
function num_options() {
- return $('options_table').childElements().length - 1;
+ return jQuery('#options_table').children().length - 1;
}
/*
-document.observe('dom:loaded', function(){
+jQuery(document).ready(function(){
$$('.action').each(function(action) {
new Draggable(action, {revert: true, ghosting: true});
});
OpenPOWER on IntegriCloud