From e9b2ca7c06875069fa03379258625490872cc33d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Tue, 31 Jul 2018 18:29:53 +0200 Subject: W 2.4 graphic update table sort engine update --- public/rsc/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'public/rsc/js') 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 -- cgit v1.2.3