This commit is contained in:
Raphael Michel
2019-12-07 13:24:35 +01:00
parent 3d5cfdd9c7
commit 4afef62cbd

View File

@@ -157,7 +157,7 @@ $(function () {
"use strict"; "use strict";
$("body").on('submit', 'form[data-asynctask]', function (e) { $("body").on('submit', 'form[data-asynctask]', function (e) {
e.preventDefault(); e.preventDefault();
$(this).removeClass("dirty); // Avoid problems with are-you-sure.js $(this).removeClass("dirty"); // Avoid problems with are-you-sure.js
if ($("body").data('ajaxing')) { if ($("body").data('ajaxing')) {
return; return;
} }