Preview button appears for content types which have preview turned off

Created on 5 December 2024, 4 months ago

Steps to reproduce

  1. Create a content type which has Preview before submitting set to Disabled
  2. Create a new node of that type. A preview button is displayed. Clicking the button does nothing.

Proposed resolution

Check the button's #access before creating the label in gin_form_after_build().

🐛 Bug report
Status

Active

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024