diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-01 13:42:33 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-01 13:43:19 -0400 |
commit | 96c18fe49006fb0cd1c41cb06a2470a081637caf (patch) | |
tree | 78004a367c853b56a6970a7d935532d99395cb39 /src/usr/local/www/services_dhcp.php | |
parent | 67b3520990c0dcba262b392bf5c8b06f37ede112 (diff) | |
download | pfsense-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_dhcp.php')
-rw-r--r-- | src/usr/local/www/services_dhcp.php | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php index 4925d0a..52969cb 100644 --- a/src/usr/local/www/services_dhcp.php +++ b/src/usr/local/www/services_dhcp.php @@ -1337,53 +1337,6 @@ if (!is_numeric($pool) && !($act == "newpool")) { <script> //<![CDATA[ events.push(function(){ - var visible = false; - - // 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'); - } - - // Hides the <div> in which the specified group input element lives so that the input, - // its label and help text are hidden - function hideGroupInput(id, hide) { - if(hide) - $('#' + id).parent('div').addClass('hidden'); - else - $('#' + id).parent('div').removeClass('hidden'); - } - - // Hides the <div> in which the specified checkbox lives so that the checkbox, its label and help text are hidden - function hideCheckbox(id, hide) { - if(hide) - $('#' + id).parent().parent().parent('div').addClass('hidden'); - else - $('#' + id).parent().parent().parent('div').removeClass('hidden'); - } - - // Disables the specified input element - function disableInput(id, disable) { - $('#' + id).prop("disabled", disable); - } - - // Hides all elements of the specified class. This will usually be a section - function hideClass(s_class, hide) { - if(hide) - $('.' + s_class).hide(); - else - $('.' + s_class).show(); - } - - // Hides all elements of the specified class assigned to a group. This will usually be a group - function hideGroupClass(s_class, hide) { - if(hide) - $('.' + s_class).parent().parent().parent().hide(); - else - $('.' + s_class).parent().parent().parent().show(); - } // Row add/delete function for class="repeatable" ================================================================= |