diff options
author | Steve Beaver <sbeaver@netgate.com> | 2016-11-07 14:13:37 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2016-11-07 14:13:37 -0500 |
commit | 6bd09ca2ce4f0f85d9506431a5079cd505a8f8cc (patch) | |
tree | fcb051c76383fd231d915f40171d2fb1726734be | |
parent | 86584ded30c27b9ad1b017fb743399dc01180f02 (diff) | |
download | pfsense-6bd09ca2ce4f0f85d9506431a5079cd505a8f8cc.zip pfsense-6bd09ca2ce4f0f85d9506431a5079cd505a8f8cc.tar.gz |
Fixed 6901
-rw-r--r-- | src/usr/local/www/firewall_aliases_edit.php | 1 | ||||
-rw-r--r-- | src/usr/local/www/services_unbound_host_edit.php | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_aliases_edit.php b/src/usr/local/www/firewall_aliases_edit.php index 56b13f0..44f6550 100644 --- a/src/usr/local/www/firewall_aliases_edit.php +++ b/src/usr/local/www/firewall_aliases_edit.php @@ -132,6 +132,7 @@ if (isset($id) && $a_aliases[$id]) { } if ($_POST) { + unset($input_errors); $vertical_bar_err_text = gettext("Vertical bars (|) at start or end, or double in the middle of descriptions not allowed. Descriptions have been cleaned. Check and save again."); diff --git a/src/usr/local/www/services_unbound_host_edit.php b/src/usr/local/www/services_unbound_host_edit.php index 93e01fe..f9bd615 100644 --- a/src/usr/local/www/services_unbound_host_edit.php +++ b/src/usr/local/www/services_unbound_host_edit.php @@ -308,3 +308,12 @@ $form->add($section); print($form); include("foot.inc"); +?> +<script type="text/javascript"> +//<![CDATA[ + events.push(function() { + // Suppress "Delete row" button if there are fewer than two rows + checkLastRow(); +}); +//]]> +</script>
\ No newline at end of file |