summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-19 14:07:27 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-19 14:07:27 -0500
commit836cefa0543483207d21dc5ce9012daeb03bfb4f (patch)
treedfddbd6d5b306c45ba92f34ce9a8b6b37e2c181d /src/usr/local/www/firewall_rules.php
parenta361a19b6f128a2f48bd0e3f28f2c6da5cff91f5 (diff)
downloadpfsense-836cefa0543483207d21dc5ce9012daeb03bfb4f.zip
pfsense-836cefa0543483207d21dc5ce9012daeb03bfb4f.tar.gz
New separator text box has focus when created
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r--src/usr/local/www/firewall_rules.php4
1 files changed, 3 insertions, 1 deletions
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() {
'<td bgcolor="#cce5ff" colspan="2"><button class="btn btn-default btn-sm" id="btnnewsep"><?=gettext("Save")?></button></td>' +
'</tr>');
+ $('#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();
OpenPOWER on IntegriCloud