Calendar setting in DX 7.0.19

Confluence User - 26 Jun, 2021

As screenshot, I found my js scriptin calendar menu is invalid which set Week view is default in Joget version is 7.0.19. The new class name of button is fc-timeGridWeek-button, but I modified to "$(".fc-timeGridWeek-button").click();", it also does not work. Is my code error ? 

calendar;userviews

1


28 Jun, 2021
confluenceUser
confluenceUser

Hi, if the CSS selector is correct, then it could possibly be the timing of the JavaScript call. You might want to try to set a slight delay before calling the code, for example using the JavaScript setTimeout function.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print