mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
loader.js: Wait for cols being painted prior adding class impact
Allows for the new loading effect's transition to play correctly also for columns which get opened the first time.
This commit is contained in:
parent
cdd5004a25
commit
344598e845
@ -299,7 +299,11 @@
|
||||
this.requests[id] = req;
|
||||
}
|
||||
if (! autorefresh) {
|
||||
req.$target.addClass('impact');
|
||||
setTimeout(function () {
|
||||
// The column may have not been shown before. To make the transition
|
||||
// delay working we have to wait for the column getting rendered
|
||||
req.$target.addClass('impact');
|
||||
}, 0);
|
||||
}
|
||||
this.icinga.ui.refreshDebug();
|
||||
return req;
|
||||
|
Loading…
x
Reference in New Issue
Block a user