Skip to content

Commit dd82507

Browse files
committed
Merge PR #19651 fix the redirect of drop fk
Closes #19651 Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2 parents 1c61f50 + e415feb commit dd82507

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

resources/js/table/relation.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,7 @@ AJAX.registerOnload('table/relation.js', function () {
260260
$.post(url, params, function (data) {
261261
if (data.success === true) {
262262
ajaxRemoveMessage($msg);
263-
refreshMainContent(false);
264-
AJAX.callback = () => {
265-
// Do nothing
266-
};
263+
$currRow.remove();
267264
} else {
268265
ajaxShowMessage(window.Messages.strErrorProcessingRequest + ' : ' + data.error, false);
269266
}

0 commit comments

Comments
 (0)