- Jul 09, 2013
-
-
David Baumgold authored
-
David Baumgold authored
-
Frances Botsford authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
Previously, when a model was deleted, the entire collection would save itself to the server again. Now, we just call model.destroy(), which doesn't affect other models.
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
Created a few RESTful API endpoints, which required creating and assigning arbitrary IDs to PDF textbooks. Changed the Backbone views to save individual models, instead of saving a whole collection.
-
David Baumgold authored
Based on http://djangosnippets.org/snippets/154/
-
David Baumgold authored
minShown = 1250, closeIcon = false
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
Previously, the code would dynamically add a chapter on render() if the textbook had no chapters, and would remove all empty chapters when the edit view was closed. Now, the render method doesn't modify the model at all anymore (yay!) and when the edit view is closed, remove all empty chapters but be sure to leave at least one left.
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
textbook.js is apparently being loaded on every page, so I just made sure that Backbone Associations was also loaded on every page to be sure that the dependency was always being met.
-
Brian Talbot authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
Textbooks now have an empty chapterset by default, instead of one with one empty chapter. The TextbookEdit view dynamically adds an empty chapter if the chapterset is empty; the close button removes all empty chapters from the chapterset.
-
Frances Botsford authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
Frances Botsford authored
-
David Baumgold authored
-
David Baumgold authored
-
Frances Botsford authored
-
David Baumgold authored
All other file types will trigger a validation error
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-
David Baumgold authored
-