Review main Merged

63515[BUGFIX] Hide the preview button for sysfolders in list/page layout module

Christian Eßl CR +2 V +2 Easy +20 −1 updated 03/23/20, 13:23

Commit message

In the list view of a sysfolder, users could still see the page preview
button. The list view is now using the same logic as the page module
and the EditDocumentController, that allows for excluding some doktypes
from showing the preview button.

By default, the page types Recycler, Sysfolder and Spacer are excluded.
This behaviour can be overridden by setting the already available
pageTSconfig "TCEMAIN.preview.disableButtonForDokType".

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1