StanfordHCI/foundry — pull request #64 by dretelny (2014-11-01 21:29:00+00:00)
Title: fixed the issue causing the team to end when a task was completed

This fix should stop the team from ending whenever you complete a task and then refresh the page. We were incorrectly updating the status in the completeTask function in taskStatus.js (we were passing in false but should have been true since the team is still in progress when you complete a task).

I also commented out some code in timeline.js that was raising the "in_progress" variable is undefined error. The same code is included in awareness.js and I'm not sure why it was also in timeline.js. I think it had to do with the cursor, which we no longer have.

How to test:
1) Create a team with tasks and press start
2) Complete a task
3) refresh the page
4) make sure team is still in progress

You might want to test completing several tasks and refreshing to make sure it stays in progress.