1 Commits
0.8.2 ... 0.8.3

Author SHA1 Message Date
Luc Didry
ce84d403df Fix donut stats call 2017-06-15 10:29:25 +02:00
2 changed files with 6 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ sub run {
% l('Total')
% );
<script>
Morris.Donut({
var enabled_donut = {
element: 'raw-enabled-holder',
data: [
{label: "<%= l('no time limit') %>", value: $unlimited_enabled},
@@ -168,8 +168,8 @@ Morris.Donut({
'#427dc1',
'#455ac3',
]
});
Morris.Donut({
};
var disabled_donut = {
element: 'raw-disabled-holder',
data: [
{label: "<%= l('no time limit') %>", value: $unlimited_disabled},
@@ -185,7 +185,7 @@ Morris.Donut({
'#427dc1',
'#455ac3',
]
});
};
</script>
$dom2
EOF

View File

@@ -64,4 +64,6 @@ $(document).ready(function() {
$("#total-holder").empty();
graph(stats_labels, stats_data, stats_total);
});
Morris.Donut(enabled_donut);
Morris.Donut(disabled_donut);
});