[FIX] HORILLA VIEWS: No reload after deletion issue
This commit is contained in:
@@ -584,14 +584,7 @@ class HorillaDeleteConfirmationView(View):
|
|||||||
# deleting related objects
|
# deleting related objects
|
||||||
collector.nested(delete_callback)
|
collector.nested(delete_callback)
|
||||||
|
|
||||||
return HttpResponse(
|
return HorillaFormView.HttpResponse()
|
||||||
"""
|
|
||||||
<script>
|
|
||||||
$("#reloadMessagesButton").click();
|
|
||||||
$(".oh-modal--show").removeClass("oh-modal--show");
|
|
||||||
</script>
|
|
||||||
"""
|
|
||||||
)
|
|
||||||
|
|
||||||
def get_context_data(self, **kwargs) -> dict:
|
def get_context_data(self, **kwargs) -> dict:
|
||||||
context = {}
|
context = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user