#2874 - Comcode pages Preview "Mobile version" error

  • By
  • Added
  • 9 views
Identifier #2874
Issue type Minor issue (breaks specific functionality)
Title Comcode pages Preview "Mobile version" error
Status Completed
Handling member Chris Graham
Addon core_comcode_pages
Description This behavior is slightly different when using Firefox and Chrome, however, in both cases, the Preview doesn't actually reflect how the Mobile Version of the page will work. It appears this preview checkbox is only available while using the "non-mobile version" of Composr.

When editing Comcode pages in Firefox, the "mobile version" checkbox in the preview screen causes an error to occur the first time you select it. The error is: "286: ReferenceError: event is not defined". Attached picture is the console errors from the time Comcode Editing is started. The highlighted error is specific to this issue.

When editing Comcode pages in Chrome, no error comes up, the checkbox disappears entirely, and the preview still doesn't appear as it does when viewing the page with the site-wide "mobile version".

Workaround: Make changes, save, then review actual effect. This bug doesn't appear to have any effect on the end-user experience.
Steps to reproduce

Edit Comcode page using Firefox "Non-Mobile version". Click "Preview". In preview pane, click "Mobile version" checkbox. Error appears.

Please note: the error only appears the first time you select the "Mobile version" checkbox within a single editing session. Exiting the editing session and re-entering causes the error to appear again.

Additional information I have not tried this using panels, however, images and text are not responding the same way in the Comcode editing preview "mobile version" as they do in the actual "mobile version".

Since editing Comcode pages using the "Non-Mobile version" actually shows "mobile version" in 2 places (preview and footer), I have attached a screenshot highlighting the "mobile version" preview to which I am referring.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated