Gloryofthe80s/Team_Project — pull request #11 by Gloryofthe80s (2014-02-02 05:47:06+00:00)
Title: Jacob branch

- Fixed a bug where deleted items weren't being removed from the taskArray, thus - when you made a new task, it would loop through the whole array and "redraw" everything in taskArray, which included deleted tasks. To solve this, I assigned a unique ID to each task object at time of creation (using _.uniqueId) and then added a data-uniqueid= "<%= uniqueId %>"> attribute to the #printed-task-container div. This allows the ability to "find" the div that contains the unique Id of the task object to be deleted from the array.
- Added $( "#task-input" ).focus(); when you create a new task so that the cursor is automatically in the new task input field.