Is it possible to prevent the confirmation screen that comes up when publishing or unpublishing content? I was hoping this module would provide one-click node publishing but the confirmation screen causes it to be two clicks.

CommentFileSizeAuthor
#4 option_to_bypass-2828633-4.patch1.43 KBefpapado

Comments

markabur created an issue. See original summary.

efpapado’s picture

Status: Active » Needs review

I proposed a patch here: https://www.drupal.org/node/1399572#comment-12119414
but it says only maintainers can reopen the issue.

markabur’s picture

Title: Remove confirmation dialogue when publishing or unpublishing content » Option to bypass confirmation dialogue when publishing or unpublishing content
Status: Needs review » Needs work

Works for me, though please create the patch from within the module directory rather than the site root. I think it makes sense for this to be a new issue, so the new patch can be attached here.

Doing it as a permission is nice since it gives a lot of flexibility with combinations of content types and roles. The only drawback would be that the permisssion doesn't affect user 1, meaning that they will never see the confirmation. That doesn't bother me at all though! I'm currently running a hacked version of this module with the confirmation removed anyway. :-)

Thanks!

efpapado’s picture

StatusFileSize
new1.43 KB

Attached :)

efpapado’s picture

Status: Needs work » Needs review
markabur’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me!

markabur’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
calefilm’s picture

Thank you, kindly @efpapado! Works great.

astonvictor’s picture

Status: Reviewed & tested by the community » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.