diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2014-05-30 13:42:59 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2014-05-30 13:42:59 +0300 |
| commit | 7f9016aa0010325a4a06691d0b5a61b92d284cd0 (patch) | |
| tree | b6de791321ecf19d7d3b416b751b22ffa677305a /templates | |
| parent | eb671b4075809b39071868e580276d0a842944ff (diff) | |
Fix data saving
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/home.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/home.html b/templates/home.html index af51211..4aba7f2 100644 --- a/templates/home.html +++ b/templates/home.html @@ -18,7 +18,6 @@ }; function save_data(data) { - var data = { tempo: 500, trees: [] @@ -34,10 +33,9 @@ tree_data.push(vals); }); data.trees.push(tree_data); - // console.log(tree.attr('data-light-tree')); }); - console.log(data); + console.log('Saved:', data); $.ajax({ type: 'POST', |
