Motivation: UX

When the user is editing a draft and want to discard it, he is attracted to use the delete button in form. This causes the removal of full content of that node. And not only that revision.

So it would be interesting if there was a "Discard draft" button on the form so that only one revision is discarded.

Comments

luizhcanetfilho created an issue. See original summary.

luizhcanetfilho’s picture

Issue summary: View changes
luizhcanetfilho’s picture

Here is a patch that Provides a Discard action button in draft edition for published content. It reverts the published revision keeping the draft in revision list.

luizhcanetfilho’s picture

luizhcanetfilho’s picture

Status: Active » Needs review
tregismoreira’s picture

This is a great feature request. The patch works sweetly ;)

Thanks!

tregismoreira’s picture

Version: 7.x-1.x-dev » 7.x-3.x-dev
StatusFileSize
new5.74 KB

Here's a patch to make it work for branch 3.x (since the branch 1.x isn't supported anymore).