How to add confirmation to block delete?

Permalink
Hi,

How could I add a confirmation question when user deletes a block in edit mode (e.g. "Are you sure you want to delete this block")? I browsed the edit mode JavaScript and it seems that it could be done with core JavaScript overrides. Could anyone give some ideas on how to actually do this? Or some examples where this has already been done before.

Thanks!

 
grafoman replied on at Permalink Reply
Hi!

I always say this to my clients:

Whenever you start editing a page, there is always a backup.
With the backup i mean the older page versions. You can always restore an older page version, so it's an automatic backup that concrete5 makes with every change the client makes and saves.

It's just as easy to discard changes when editing a page.

It's no solution to your question, i'm just pointing out this may not be necessary.

Hope this helps,

Grafoman.