From 083ce15184a542dbb0f72c298aa73bb0355a51cf Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Mon, 19 Jan 2026 11:43:29 +0000 Subject: [PATCH] Prevent redirect when creating term via fieldtype --- resources/js/components/terms/PublishForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/terms/PublishForm.vue b/resources/js/components/terms/PublishForm.vue index dd13aef1ebd..15163ce3e6d 100644 --- a/resources/js/components/terms/PublishForm.vue +++ b/resources/js/components/terms/PublishForm.vue @@ -504,7 +504,7 @@ export default { } // If the edit URL was changed (i.e. the term slug was updated), redirect them there. - else if (window.location.href !== response.data.data.edit_url) { + else if (!this.isInline && window.location.href !== response.data.data.edit_url) { window.location = response.data.data.edit_url; }