diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-10-12 11:36:05 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-10-12 11:36:05 +0200 |
commit | 65796d4a2349e71ca05f5f298d6f94ff792d88b2 (patch) | |
tree | ef73e39b4b54ccd36b61b783c438036761d17811 /public/w/rsc/js/app.js | |
parent | 74ccedd6544daac0845a044b5e6d71d577578c69 (diff) | |
download | wcms-65796d4a2349e71ca05f5f298d6f94ff792d88b2.tar.gz wcms-65796d4a2349e71ca05f5f298d6f94ff792d88b2.zip |
2.91 folder moves + auto summary
Diffstat (limited to 'public/w/rsc/js/app.js')
-rw-r--r-- | public/w/rsc/js/app.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/w/rsc/js/app.js b/public/w/rsc/js/app.js new file mode 100644 index 0000000..1f1df61 --- /dev/null +++ b/public/w/rsc/js/app.js @@ -0,0 +1,7 @@ +function confirmSubmit(event, element, idform) { + if (window.confirm('Confirm ? ' + element) === false) { + event.preventDefault(); + } else { + document.getElementById(idform).submit(); + } +}
\ No newline at end of file |