From ee9a44e740d76a447fff2324795e4691215c1bd1 Mon Sep 17 00:00:00 2001 From: NewEraCracker Date: Mon, 3 Oct 2016 19:38:08 +0100 Subject: Fix typo: The input field is named source_hash_key (cherry picked from commit 870b9bc11b993ce8122b448083d29a04bcb30151) --- src/usr/local/www/firewall_nat_out_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/firewall_nat_out_edit.php') diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php index 62bd173..08cfc5c 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -768,11 +768,11 @@ events.push(function() { function poolopts_change() { if ($('#target option:selected').text().trim().substring(0,4) == "Host") { hideInput('poolopts', false); - hideInput('source_host_key', true); + hideInput('source_hash_key', true); hideIpAddress('targetip', true); } else if ($('#target option:selected').text().trim().substring(0,6) == "Subnet") { hideInput('poolopts', false); - hideInput('source_host_key', true); + hideInput('source_hash_key', true); hideIpAddress('targetip', true); } else if ($('#target option:selected').text().trim().substring(0,5) == "Other") { hideInput('poolopts', false); @@ -785,7 +785,7 @@ events.push(function() { } else { $('#poolopts').prop('selectedIndex',0); hideInput('poolopts', true); - hideInput('source_host_key', true); + hideInput('source_hash_key', true); hideIpAddress('targetip', true); $('#targetip').val(''); $('#targetip_subnet').val('0'); -- cgit v1.1