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 12:49:06 +0000 (13:49 +0100)
commit3f832f25120184a5794f593bafa762747d6cc693
treeaf1cee0d66bde900313c969ebcd1d503dae82108
parent12809f7380e78ebbf55f8ae0ed2923ae9b2018d8
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]>
modules/luci-base/htdocs/luci-static/resources/ui.js