mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Revert "Performance data: render pie charts without freezing the UI"
This reverts commit f2b2b6a91aacc312372892fd9e88e725d1abfbfe. refs #3344
This commit is contained in:
parent
801ccb80f0
commit
38438449e4
@ -15,17 +15,13 @@
|
|||||||
|
|
||||||
Sparkline.prototype.onRendered = function(e) {
|
Sparkline.prototype.onRendered = function(e) {
|
||||||
$(e.target).find('.sparkline').each(function() {
|
$(e.target).find('.sparkline').each(function() {
|
||||||
setTimeout(sparkline, 0, $(this));
|
$(this).sparkline('html', {
|
||||||
|
enableTagOptions: true,
|
||||||
|
disableTooltips: true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
Icinga.Behaviors.Sparkline = Sparkline;
|
Icinga.Behaviors.Sparkline = Sparkline;
|
||||||
|
|
||||||
function sparkline(selector) {
|
|
||||||
selector.sparkline('html', {
|
|
||||||
enableTagOptions: true,
|
|
||||||
disableTooltips: true
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
})(Icinga, jQuery);
|
})(Icinga, jQuery);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user