summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_out_edit.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
index 2dcb408..afb0648 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -689,52 +689,6 @@ print($form);
events.push(function(){
var portsenabled = 1;
- // 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();
- }
-
function staticportchange() {
if ($('#staticnatport').prop('checked')) {
$('#natport').val("");
OpenPOWER on IntegriCloud