ldc-sbv/pole-sbv-content/plugins/ninja-forms/assets/js/all-forms.js
2017-09-06 14:18:47 +02:00

9 lines
No EOL
228 B
JavaScript
Executable file

jQuery(document).ready(function($) {
$( '.trash a' ).click( function( e ) {
e.preventDefault();
var answer = confirm( nfi18n.confirm_delete );
if ( answer ) {
window.location.href = e.currentTarget.href;
}
} );
} );