diff options
Diffstat (limited to 'src')
-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(); }); }); //]]> |