aboutsummaryrefslogtreecommitdiff
path: root/public/rsc/js/app.js
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-07-31 18:29:53 +0200
committervincent-peugnet <v.peugnet@free.fr>2018-07-31 18:29:53 +0200
commite9b2ca7c06875069fa03379258625490872cc33d (patch)
tree3af763a303f07c75d63ca9801c98e58fa9052628 /public/rsc/js/app.js
parentc36f25e76f40c6fdd6e02f92713d9c1241ed0a79 (diff)
downloadwcms-e9b2ca7c06875069fa03379258625490872cc33d.tar.gz
wcms-e9b2ca7c06875069fa03379258625490872cc33d.zip
W 2.4 graphic update table sort engine update
Diffstat (limited to 'public/rsc/js/app.js')
-rw-r--r--public/rsc/js/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/rsc/js/app.js b/public/rsc/js/app.js
index d1b9f55..b806baf 100644
--- a/public/rsc/js/app.js
+++ b/public/rsc/js/app.js
@@ -1,5 +1,7 @@
-function confirmSubmit(event, element) {
+function confirmSubmit(event, element, idform) {
if (window.confirm('Confirmer ? ' + element) === false) {
event.preventDefault();
+ } else {
+ document.getElementById(idform).submit();
}
} \ No newline at end of file