Project

General

Profile

« Previous | Next » 

Revision cbe639a8

Added by Stephen Beaver over 9 years ago

Fixed #5541

View differences:

src/usr/local/www/interfaces_vlan.php
184 184
events.push(function(){
185 185
	// Select 'delete button' clicks, extract the id, set the hidden input values and submit
186 186
	$('[id^=del-]').click(function(event) {
187
		if(confirm('<?=gettext("Are you sure you want to delete this VLAN?")?>')) {
188
			$('#act').val('del');
189
			$('#id').val(this.id.replace("del-", ""));
190
			$(this).parents('form').submit();
191
		}
187
		$('#act').val('del');
188
		$('#id').val(this.id.replace("del-", ""));
189
		$(this).parents('form').submit();
192 190
	});
193 191
});
194 192
//]]>

Also available in: Unified diff