[FIX] HORILLA VIEWS: No reload after deletion issue
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user