diff options
Diffstat (limited to 'public/rsc/js/app.js')
-rw-r--r-- | public/rsc/js/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/rsc/js/app.js b/public/rsc/js/app.js new file mode 100644 index 0000000..d1b9f55 --- /dev/null +++ b/public/rsc/js/app.js @@ -0,0 +1,5 @@ +function confirmSubmit(event, element) { + if (window.confirm('Confirmer ? ' + element) === false) { + event.preventDefault(); + } +}
\ No newline at end of file |