mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Merge stash
This commit is contained in:
parent
7aadad913e
commit
e216ba6721
@ -12,14 +12,12 @@
|
||||
};
|
||||
|
||||
Sparkline.prototype.apply = function(el) {
|
||||
var self = this, icinga = this.icinga;
|
||||
|
||||
$('span.sparkline', el).each(function(i, element) {
|
||||
// read custom options
|
||||
var $spark = $(element);
|
||||
var labels = $spark.attr('labels').split('|');
|
||||
var formatted = $spark.attr('formatted').split('|');
|
||||
var tooltipChartTitle = $spark.attr('sparkSparklineChartTitle') || '';
|
||||
var tooltipChartTitle = $spark.attr('sparkTooltipChartTitle') || '';
|
||||
var format = $spark.attr('tooltipformat');
|
||||
var hideEmpty = $spark.attr('hideEmptyLabel') === 'true';
|
||||
$spark.sparkline(
|
||||
|
Loading…
x
Reference in New Issue
Block a user