How to force a page reload when switching between Edit, Design, and Preview Mode (new touch ui) | Community
Skip to main content
jo-facic
Level 2
October 16, 2015
Solved

How to force a page reload when switching between Edit, Design, and Preview Mode (new touch ui)

  • October 16, 2015
  • 1 reply
  • 1144 views

Hi,

How to force a page reload when switching between Edit, Design, and Preview Mode aem 6?

From the classic ui the solution is force a page refresh automatically, but in the new version don't exist anymore the Sidekick 

Thank's in advanced

 

Josi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mshaji

It seems that switching is based on coral UI javascript events which doesn't make a call to page refresh.

All it does is changes layers from edit to preview and soon. I don't even see any configuration in console to have this feature enabled.

All these actions happen in the js files under the following folder

/libs/cq/gui/components/authoring/clientlibs/editor/js/layers

/libs/cq/gui/components/authoring/clientlibs/editor/js/edit

1 reply

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

It seems that switching is based on coral UI javascript events which doesn't make a call to page refresh.

All it does is changes layers from edit to preview and soon. I don't even see any configuration in console to have this feature enabled.

All these actions happen in the js files under the following folder

/libs/cq/gui/components/authoring/clientlibs/editor/js/layers

/libs/cq/gui/components/authoring/clientlibs/editor/js/edit