From 335af0bbf19ef4e6454233c9b4d212ee5aaa9d0d Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 14 Jul 2014 19:06:42 +0300 Subject: Target and adjacent nodes are highlighted when clicked Background click remove editing boxes and highlights Deliverables test button adds 140 random tasks and dates Links between nodes have two colors: blue and green for dependencies --- scripts/buttons.js | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) (limited to 'scripts/buttons.js') diff --git a/scripts/buttons.js b/scripts/buttons.js index 4b3409d2..e1e39a68 100644 --- a/scripts/buttons.js +++ b/scripts/buttons.js @@ -17,9 +17,70 @@ function Colorize(){ $('.td5').click(function(){chosencolor="objective"}); } -$('#textanalyser').submit(function(){return false;}); + $('.tutorial').click(function(){}); +var key="#47989379"; + + +$('.save').click(function(){ + + var jsonsave='{"nodes":['; + console.log(nodes); + for(var i=0;i