Skip to content

Commit

Permalink
Merge 44fecf3 into 52aa1b7
Browse files Browse the repository at this point in the history
  • Loading branch information
perrinjerome committed May 1, 2023
2 parents 52aa1b7 + 44fecf3 commit cce2ee5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Changelog

- Depend on ``Zope`` instead of ``Zope2``.

- Add a confirmation prompt on ``Delete All Objects`` button.
(see `#9 <https://github.com/zopefoundation/Products.BTreeFolder2/issues/9>`_)


5.0 (2023-02-01)
----------------
Expand Down
2 changes: 1 addition & 1 deletion src/Products/BTreeFolder2/contents.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function toggleSelect() {
<input class="form-element" type="submit" name="manage_delObjects:method"
value="Delete" />
<input class="form-element" type="submit" name="manage_delAllObjects:method"
value="Delete All Objects" />
value="Delete All Objects" onClick="return confirm('Really delete all objects?')"/>
</dtml-if>
<dtml-if "_.SecurityCheckPermission('Import/Export objects', this())">
<input class="form-element" type="submit"
Expand Down

0 comments on commit cce2ee5

Please sign in to comment.