Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7184

DOC: cmsfn.isPreviewMode() has inaccurate javadoc

XMLWordPrintable

    • DevX 16
    • 0.5

      The javadoc of cmsfn.isPreviewMode() templating function is inaccurate.

      Returns whether the request is from the Page editor preview mode.

      It matches requests from both (Author and Public) instances.

      ----------

      In the "isEditMode" would be better to mention that it is only on the Author instance.

      Returns whether the request is from the Page editor edit mode.
      Specifically whether the request is on the author instance and not from the page editor in preview mode.
      Useful for providing messages in the page to assist the editors.

        Acceptance criteria

          There are no Sub-Tasks for this issue.

              jsimak Jaroslav Simak
              evystup Ervin Vystup
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: