[Page Loader] With Ajax Refresh in one of the streams that use class "LoaderPage" the loader stops

Forge Component
(11)
Published on 2019-06-05 by Matheus Medeiros
11 votes
Published on 2019-06-05 by Matheus Medeiros

Good morning, I tried using the loader in an application I'm developing but on a button that defined the class "LoaderPage" I'm using ajax refresh during the flow, so the loader stopped working for all buttons.

It only works the first time.

How can I solve the problem?

Jorge Rodrigues wrote:

Good morning, I tried using the loader in an application I'm developing but on a button that defined the class "LoaderPage" I'm using ajax refresh during the flow, so the loader stopped working for all buttons.

It only works the first time.

How can I solve the problem?

Hi Jorge,

In case you do an ajax refresh in a button, you will have to apply the page loader again by doing an ajax refresh in the Page Loader script as well.

Cheers