Trigger loader overlay from Dojo widget


There is an overlay which EPiServer sometimes shows when loading content takes longer than usual.

Is there a way to trigger that overlay for lenghty operations that are triggered by an editor?

Use case:

- Editor clicks a custom command button in the UI

- The loader overlay is displayed by the custom command

- A lenghty operation is carried out in the background

- The custom command removes the loader overlay

- The editor now knows the lenghty operation has completed

Mar 26, 2015 15:22

Unfortunately, there does not seems to be a prepared API for this.

Mar 26, 2015 15:47

Ok! Thanks! I might have a look at, but it would be sweet to trigger the native EPiServer one.

Edit for future reference: I think the refresh method in ContentPane.js might be a good place to look, it mentions posting the "Loading..." message. The loadingMessage seems to be the actual text to be displayed.

Edited, Mar 26, 2015 15:49