summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/static/js/flot-pie-chart.js
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-09-19 10:10:54 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-09-19 10:10:54 +0200
commit3f96bdbe6542c2600def600514d577aea351ff3d (patch)
tree4b03eff09a7ce83fcb04371c70f0d8579eaf3171 /tools/pharos-dashboard/static/js/flot-pie-chart.js
parent1f3498a73ca2ca15b811205e8a902780a25fb728 (diff)
Fix table HTML
JIRA: RELENG-12 Change-Id: I780c1fc0daab9ee2f2599c51f31eb416a2c7dbbf Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/static/js/flot-pie-chart.js')
-rw-r--r--tools/pharos-dashboard/static/js/flot-pie-chart.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/pharos-dashboard/static/js/flot-pie-chart.js b/tools/pharos-dashboard/static/js/flot-pie-chart.js
index 98d174e4..cf8d9769 100644
--- a/tools/pharos-dashboard/static/js/flot-pie-chart.js
+++ b/tools/pharos-dashboard/static/js/flot-pie-chart.js
@@ -4,14 +4,12 @@ function loadChartData(chart_id, url) {
type: 'get',
success: function (data) {
var data = data['data'];
- $(function () {
- var plotObj = $.plot($("#" + chart_id), data, {
- series: {
- pie: {
- show: true
- }
+ var plotObj = $.plot($("#" + chart_id), data, {
+ series: {
+ pie: {
+ show: true
}
- });
+ }
});
},
failure: function (data) {