diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-28 15:37:21 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-28 15:37:21 -0500 |
commit | cbe639a8a2575b3148c9b5069be78b0a89b3b429 (patch) | |
tree | 44171fea3facddea350d583259a78e38843dae94 /src/usr/local/www | |
parent | 3feefc074e349b5e9ab4776267076084843d5bbb (diff) | |
download | pfsense-cbe639a8a2575b3148c9b5069be78b0a89b3b429.zip pfsense-cbe639a8a2575b3148c9b5069be78b0a89b3b429.tar.gz |
Fixed #5541
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/interfaces_vlan.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/usr/local/www/interfaces_vlan.php b/src/usr/local/www/interfaces_vlan.php index 3bdef1a..edf5a80 100644 --- a/src/usr/local/www/interfaces_vlan.php +++ b/src/usr/local/www/interfaces_vlan.php @@ -184,11 +184,9 @@ display_top_tabs($tab_array); events.push(function(){ // Select 'delete button' clicks, extract the id, set the hidden input values and submit $('[id^=del-]').click(function(event) { - if(confirm('<?=gettext("Are you sure you want to delete this VLAN?")?>')) { - $('#act').val('del'); - $('#id').val(this.id.replace("del-", "")); - $(this).parents('form').submit(); - } + $('#act').val('del'); + $('#id').val(this.id.replace("del-", "")); + $(this).parents('form').submit(); }); }); //]]> |