summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/static/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
commit176188d16eab0a8c56537c2c6d119a6807f47999 (patch)
tree022c19dc8de6c605702687c956e287fbd15f68e1 /pharos-dashboard/static/js
parented84f733591f2b6cede955ce1ff91f647581f0ff (diff)
Fix table HTML
JIRA: RELENG-12 Change-Id: I780c1fc0daab9ee2f2599c51f31eb416a2c7dbbf Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/static/js')
-rw-r--r--pharos-dashboard/static/js/flot-pie-chart.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/pharos-dashboard/static/js/flot-pie-chart.js b/pharos-dashboard/static/js/flot-pie-chart.js
index 98d174e..cf8d976 100644
--- a/pharos-dashboard/static/js/flot-pie-chart.js
+++ b/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) {