luci-base: revert timeout function argument for addNotification
authorFlorian Eckert <[email protected]>
Fri, 7 Mar 2025 12:49:04 +0000 (13:49 +0100)
committerFlorian Eckert <[email protected]>
Fri, 7 Mar 2025 13:38:36 +0000 (14:38 +0100)
commit31824936faf24f35683ca462be3413cd39f5bc9c
tree9d879aadeece08aea09b416cbec3a108496f3e9b
parentc960461ca88a158cdd8a9ad43befc254922ae48e
luci-base: revert timeout function argument for addNotification

The function signature changed and all function call to addNotification
that add a CSS class does not work anymore. A direct revert is not
possible.

If this feature is needed than a new function musst be added, that does
not break the function signature.

Fixes: 53e36e3293bee2ea2ce0fbc1250074c44cfe8335
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit 3f832f25120184a5794f593bafa762747d6cc693)
modules/luci-base/htdocs/luci-static/resources/ui.js