Pular para o conteúdo
#0959
ExecDisplay

The dialog nobody could suppress gets dismissed by a function

The records-management app on display-2 shows an "Update available" dialog every few days. It is modal. The nightly batch behind it stops until someone clicks Later.

A six-line exec script fixes it. // @schedule */15 * * * * at the top. The body POSTs window/search with pattern ^Update available, name true, onlyVisible true. If a window comes back, it POSTs window/close with that windowId and logs the hour. If none comes back, it returns and costs nothing.

Before, the fix was a sticky note on the ops desk and a Monday discovery that Friday's batch never ran. Now the dialog lives for at most fifteen minutes, and the log says how often it appeared.

The dialog nobody could suppress gets dismissed by a function.