StanfordHCI/foundry — pull request #118 by ato1120 (2014-11-23 09:08:44+00:00)
Title: At modal save fix

Redid the function saveTaskOverview in task_modal.js to update the json only, and then call drawEvent. In the past it took data from the form and tried to update pixels itself. This should let us avoid always updating this function whenever we do redesigns (in this scenaio, an hour used to be 100 pixels, now it is not and all the tasks rewrote incorrectly whenever you saved the task modal, even without changes.

To test:
-Want to check that anything you do on the task modal saves properly and renders the event properly
-Want to make sure nothing new that you didn't add to the task modal yourself gets used (e.g., don't change duration but it updates anyways)
-Want to make sure when you drag around and otherwise edit the event, the modal updates. I did nothing in the code related to this, but I may have missed bugs that existed before I fixed this - may be easier to find now that this is fixed

Other note: I removed every console log I could find. We can bring back important ones later (polling logs), but as good practice those should not get merged in unless there is a good reason.