summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-01 13:42:33 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-01 13:43:19 -0400
commit96c18fe49006fb0cd1c41cb06a2470a081637caf (patch)
tree78004a367c853b56a6970a7d935532d99395cb39 /src/usr/local/www/services_unbound.php
parent67b3520990c0dcba262b392bf5c8b06f37ede112 (diff)
downloadpfsense-96c18fe49006fb0cd1c41cb06a2470a081637caf.zip
pfsense-96c18fe49006fb0cd1c41cb06a2470a081637caf.tar.gz
Addresses #5159 by removing hide/show/disable/enable functions to included file
Diffstat (limited to 'src/usr/local/www/services_unbound.php')
-rw-r--r--src/usr/local/www/services_unbound.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index 590a736..3545379 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -353,20 +353,8 @@ print_info_box(sprintf(gettext("If the DNS Resolver is enabled, the DHCP".
<script>
//<![CDATA[
events.push(function(){
- // Hides the <div> in which the specified input element lives so that the input, its label and help text are hidden
- function hideInput(id, hide) {
- if(hide)
- $('#' + id).parent().parent('div').addClass('hidden');
- else
- $('#' + id).parent().parent('div').removeClass('hidden');
- }
-
- // Disables the specified input element
- function disableInput(id, disable) {
- $('#' + id).prop("disabled", disable);
- }
- // If hte enable checkbox is not checked, disable the next three checkboxes
+ // If the enable checkbox is not checked, disable the next three checkboxes
function disableDHCP() {
var hide = ! $('#enable').prop('checked');
OpenPOWER on IntegriCloud