[MGNLSTK-982] Mobile preview is configured incorrectly as in edit mode Created: 18/Jul/12  Updated: 16/Aug/12  Resolved: 16/Aug/12

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jan Haderka Assignee: Milan Divilek
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Date of First Response:

 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.



 Comments   
Comment by Milan Divilek [ 16/Aug/12 ]

The isEdit value is indeed false inside of mobile preview iframe as it should be.

Generated at Mon Feb 12 07:32:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.