forked from Wavyzz/dolibarr
formconfirm: redraw the page with the data returned from POST request. This displays errors, if there are.
This commit is contained in:
@@ -5174,7 +5174,7 @@ class Form
|
||||
var post = $.post(
|
||||
pageyes,
|
||||
options,
|
||||
() => {location.assign(page)}
|
||||
(data) => {$("body").html(data)}
|
||||
);
|
||||
}
|
||||
$(this).dialog("close");
|
||||
@@ -5199,7 +5199,7 @@ class Form
|
||||
var post = $.post(
|
||||
pageno,
|
||||
options,
|
||||
() => {location.assign(page)}
|
||||
(data) => {$("body").html(data)}
|
||||
);
|
||||
}
|
||||
$(this).dialog("close");
|
||||
|
||||
Reference in New Issue
Block a user