diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 10:16:31 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 10:17:03 -0400 |
commit | 0bc61baaa862ad58171fcfde07be91db9245145c (patch) | |
tree | 9973f5f1968028506c94dac99859959b8e9ca954 /src/usr/local/www/services_unbound_acls.php | |
parent | 1474131881232906c9200ccc2da38f6ea5c9c5f3 (diff) | |
download | pfsense-0bc61baaa862ad58171fcfde07be91db9245145c.zip pfsense-0bc61baaa862ad58171fcfde07be91db9245145c.tar.gz |
Javascript refine to hide Delete row button if there is only one row
Diffstat (limited to 'src/usr/local/www/services_unbound_acls.php')
-rw-r--r-- | src/usr/local/www/services_unbound_acls.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/local/www/services_unbound_acls.php b/src/usr/local/www/services_unbound_acls.php index a9d1076..e428c25 100644 --- a/src/usr/local/www/services_unbound_acls.php +++ b/src/usr/local/www/services_unbound_acls.php @@ -325,6 +325,15 @@ else // NOT 'edit' or 'add' </nav> </div> </div> + +<script> +//<![CDATA[ +events.push(function(){ + // Suppress "Delete row" button if there are fewer than two rows + checkLastRow(); +}); +//]]> +</script> <?php } |