formconfirm: redraw the page with the data returned from POST request. This displays errors, if there are.

This commit is contained in:
Thomas Negre 2022-07-08 16:30:26 +02:00
parent 11e97df558
commit 8f505fbd67

View File

@ -5174,7 +5174,7 @@ class Form
var post = $.post( var post = $.post(
pageyes, pageyes,
options, options,
() => {location.assign(page)} (data) => {$("body").html(data)}
); );
} }
$(this).dialog("close"); $(this).dialog("close");
@ -5199,7 +5199,7 @@ class Form
var post = $.post( var post = $.post(
pageno, pageno,
options, options,
() => {location.assign(page)} (data) => {$("body").html(data)}
); );
} }
$(this).dialog("close"); $(this).dialog("close");