[
http://jira.magnolia-cms.com/browse/MGNLDATA-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bert Leunis updated MGNLDATA-62:
--------------------------------
Attachment: DataTree.js.patch
The patch on the js file adds the requested alert. You see in the patch that I
tried to use retrieve the mgnlMessages script, but I could not get it to work.
These are the messages you need to add to the messages file
/magnolia-module-data/src/main/resources/info/magnolia/module/data/messages_en.properties:
datatree.deleteall.confirm.title.js = Delete ALL nodes?
datatree.deleteall.confirm.text.js = ALL NODES will be DE-ACTIVATED\nand
DELETED immediately.\n\nAre you sure to continue?
> Deleta all button should have a confirmation
> --------------------------------------------
>
> Key: MGNLDATA-62
> URL: http://jira.magnolia-cms.com/browse/MGNLDATA-62
> Project: Magnolia Data Module
> Issue Type: Bug
> Affects Versions: 1.3.2
> Reporter: Olivier Marti
> Assignee: Philipp Bärfuss
> Attachments: DataTree.js.patch
>
>
> I actually think I reported this already some time ago, but was not able to
> find the task anymore.
> However, at the moment if one is clicking on the "delete all" button within
> the data module (at a specific item) all those entries will be deleted
> immediately.
> We should implement a confirmation here as it's way to risky that an editor
> is deleting all the items by accident which could lead to quite some troubles
> regarding the availability of the content for the page visitors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------