formconfirm: redraw the page with the data returned from POST request. This displays errors, if there are.
This commit is contained in:
parent
11e97df558
commit
8f505fbd67
@ -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");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user