0
Отвечен

[JS] How to check if system menu or project menu are open?

Francesco Zangara 7 лет назад в Общий обновлен Aleksandr Romanov (CTO) 7 лет назад 5

On a script, can i check if system menu or project menu are open?

Ожидает ответа пользователя

No, you can't.

Describe, why do you need this functionality?

I have create an script for reduce luminosity on panel after x minute of inactivity, i need check if menu are open so i disable or reset the countdown. Otherwise i need a token for "activity".

I can think that i need to create an addlistner for each items/popups/pages on my project.

Отвечен

Why should the end user open the side menu? You do not need to consider this option ....

Some of our customers have more that one panel project so sometimes the script reduce luminosity when they open side menu for change project.


if i not remember wrong, On i2 i can use IR.CurrentPage to check if system menu is open or not.

otherwise, can i have an token for "activity"?

Сервис поддержки клиентов работает на платформе UserEcho