diff --git a/mpicms/base/wagtail_hooks.py b/mpicms/base/wagtail_hooks.py index 41ea1a3..0dd1963 100644 --- a/mpicms/base/wagtail_hooks.py +++ b/mpicms/base/wagtail_hooks.py @@ -58,6 +58,9 @@ def send_notifications(request, page): fail_silently=True) logger.debug(f'Send change notification to {subscribers}') +@hooks.register('construct_page_action_menu') +def remove_submit_to_moderator_option(menu_items, request, context): + menu_items[:] = [item for item in menu_items if item.name != 'action-submit'] class FeaturedImageAdmin(ModelAdmin): model = FeaturedImage