diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-04-13 22:46:13 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-04-13 22:46:13 +0200 |
commit | 899a4bd60570ff9b77fabe89dd4902f09bbdeb47 (patch) | |
tree | d1aba3f501dc633a9e154adfb2b122502975a3c1 /public/rsc | |
parent | 1b6f5e650fa774cda77d511bf4cbdc638a2b42f6 (diff) | |
download | wcms-899a4bd60570ff9b77fabe89dd4902f09bbdeb47.tar.gz wcms-899a4bd60570ff9b77fabe89dd4902f09bbdeb47.zip |
V2 feat nico search lien confirm background100%
Diffstat (limited to 'public/rsc')
-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 |