Skip to content

Commit

Permalink
Merge pull request #55 from plone/issue-54
Browse files Browse the repository at this point in the history
Fix #54 : "Add item to default page" modal form
  • Loading branch information
mauritsvanrees authored Sep 14, 2023
2 parents 66af0fa + fa43cb9 commit 3cc7261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/54.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix "Add item to default page" modal form. [sverbois]
3 changes: 3 additions & 0 deletions plone/app/contentmenu/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,9 @@ def getMenuItems(self, context, request):
"id": "plone-contentmenu-add-to-default-page",
"separator": None,
"class": "pat-plone-modal",
"modal": json.dumps(
{"actionOptions": {"disableAjaxFormSubmit": True}}
),
},
"submenu": None,
}
Expand Down

0 comments on commit 3cc7261

Please sign in to comment.