Analytics: add the first graph (task repartition)

This commit is contained in:
Frédéric Guillot
2014-11-09 17:59:02 -05:00
parent 3df63e051f
commit e89ba5e9e6
29 changed files with 392 additions and 10 deletions

View File

@@ -3,10 +3,13 @@ $(function() {
Kanboard.Init();
if ($("#board").length) {
if (Kanboard.Exists("board")) {
Kanboard.Board.Init();
}
else if ($("#task-section").length) {
else if (Kanboard.Exists("task-section")) {
Kanboard.Task.Init();
}
else if (Kanboard.Exists("analytic-section")) {
Kanboard.Analytic.Init();
}
});