Project

General

Profile

Actions

Bug #7154

closed

firewall_nat_edit JS function check_for_aliases()

Added by Phillip Davis almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
01/22/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

Description

The code in this function seems to be ineffective. e.g. it has sequences like:

if ($('#dstbeginport_cust').val() == customarray[i]) {
$('#dstendport_cust').val(customarray[i]);
$('#localbeginport_cust').val(customarray[i]);
disableInput('dstendport_cust', true);
disableInput('localbeginport', true);
disableInput('localbeginport_cust', true);
disableInput('dstendport_cust', false);
disableInput('localbeginport', false);
disableInput('localbeginport_cust', false);
}

which disables various input fields then enables them again.

Needs to:
1) Define the requirement
2) Implement whatever is required

Actions

Also available in: Atom PDF