textbook.js
5.63 KB
-
All textbook chapters must have name and asset_path · fe858756
Previously, for a textbook with only one chapter, we allowed that chapter to not have a title -- under the assumption that it would be shown as a monolithic textbook, instead of a chaptered textbook. However, the UI doesn't support that idea, the code was getting a bit messy, and there was no real benefit to the idea of not having to specify a chapter title. This commit removes that special case, and ensures that all textbook chapters must have a name and an asset path.
David Baumgold committed