4 lines
135 B
JavaScript
4 lines
135 B
JavaScript
$('form.button_to input[type=submit]').click(function (e) {
|
|
if(!confirm(this.getAttribute('data-confirm'))) e.preventDefault();
|
|
});
|
|
|