diff --git a/news/3989.bugfix b/news/3989.bugfix new file mode 100644 index 0000000..7763b0e --- /dev/null +++ b/news/3989.bugfix @@ -0,0 +1 @@ +Fixes pat-plone-modal redirection issue after changing state from content menu [rohnsha0] \ No newline at end of file diff --git a/plone/app/contentmenu/menu.py b/plone/app/contentmenu/menu.py index e8c1e5f..ce626e4 100644 --- a/plone/app/contentmenu/menu.py +++ b/plone/app/contentmenu/menu.py @@ -896,6 +896,7 @@ def getMenuItems(self, context, request): "modal": json.dumps( { "modalSizeClass": "modal-xl", + "actionOptions": {"redirectOnResponse": True}, } ), },