From 836cefa0543483207d21dc5ce9012daeb03bfb4f Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Tue, 19 Jan 2016 14:07:27 -0500 Subject: New separator text box has focus when created --- src/usr/local/www/firewall_rules.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 7df60bc..8cbe034 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -799,6 +799,8 @@ events.push(function() { '' + ''); + $('#newsep').focus(); + $("#btnnewsep").prop('type' ,'button'); // Remove the temporary separator bar and replace it with the final version containing the @@ -815,7 +817,7 @@ events.push(function() { }); }); - // Delete a sepaator row + // Delete a separator row $(function(){ $('table').on('click','tr a .sepdel',function(e){ e.preventDefault(); -- cgit v1.1