From cbe639a8a2575b3148c9b5069be78b0a89b3b429 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Sat, 28 Nov 2015 15:37:21 -0500 Subject: Fixed #5541 --- src/usr/local/www/interfaces_vlan.php | 8 +++----- 1 file 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('')) { - $('#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(); }); }); //]]> -- cgit v1.1