Skip to content

Commit

Permalink
Merge pull request #60 from plone/confirm-view-for-all-contexts
Browse files Browse the repository at this point in the history
Allow `confirm-action` for all contexts, instead of only Plone Site
  • Loading branch information
gforcada authored Nov 25, 2016
2 parents 9ef9881 + e273918 commit 2be2215
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ New features:

Bug fixes:

- Allow ``confirm-action`` for all contexts, instead of only Plone Site root.
This avoids an error when calling it on a subsite.
Fixes `issue #51 <https://github.com/plone/plone.protect/issues/51>`_.
[maurits]

- Code Style: utf8-headers, import sorting, new style namespace declaration, autopep8
[jensens]

- Fix #57: Html must contain "body", otherwise plone.protect breaks.
[jensens]

Expand Down
2 changes: 1 addition & 1 deletion plone/protect/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<browser:page
name="confirm-action"
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
for="*"
class=".views.ConfirmView"
template="confirm.pt"
permission="zope2.View"
Expand Down

0 comments on commit 2be2215

Please sign in to comment.