From 038e4ed146e5a29933cc8dc34004f0962d1c9987 Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 7 Aug 2014 15:22:31 +0300 Subject: Issue #26 nodes didn't appear because the type selection index was undefined in the 0 to N_1 loop --- scripts/gant.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/gant.js') diff --git a/scripts/gant.js b/scripts/gant.js index cabca200..ae849dd6 100644 --- a/scripts/gant.js +++ b/scripts/gant.js @@ -10,7 +10,7 @@ function checkSwitch(checkswitch) { $('body').scrollLeft(0); graphstate = "GRAPH"; - graph.updateGraph(); + graph.update(); $('.status').fadeOut(600); @@ -27,7 +27,7 @@ function checkSwitch(checkswitch) { graphstate = "GANTT"; - graph.updateGraph(); + graph.update(); $('.status').fadeIn(600); -- cgit v1.3.1