[FIX] HORILLA VIEWS: No reload after deletion issue

This commit is contained in:
Horilla
2025-02-25 17:53:02 +05:30
parent 71eaeb9ab0
commit b630caa940

View File

@@ -584,14 +584,7 @@ class HorillaDeleteConfirmationView(View):
# deleting related objects
collector.nested(delete_callback)
return HttpResponse(
"""
<script>
$("#reloadMessagesButton").click();
$(".oh-modal--show").removeClass("oh-modal--show");
</script>
"""
)
return HorillaFormView.HttpResponse()
def get_context_data(self, **kwargs) -> dict:
context = {}