Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-982

Mobile preview is configured incorrectly as in edit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • 2.0.2
    • None
    • None

    Description

      When mobile preview is rendered, it is incorrectly shown still in edit mode (although w/o green bars).

                 //global information for the javascripts
                  window.magnoliaFrontendData = {
                      themePath: "/resources/templating-kit/",
                      contextPath: "",
                      isEdit: true,
                      texts: {
                          lightbox: {
                              close: "close lightbox",
                              next: "next picture"
                          },
                          close: "close"
                      },
                      cfg: {
                      }
                  };
              </script>
      

      namely isEdit: true in difference from normal (desktop) preview where this value is set to false.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdivilek Milan Divilek
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: