Fix for script tags w/in json objects being oddly evaluated on html page

load by doing load separately. In process, upgraded backbone which
necessitated changing getByCid to get and got rid of obsolete
course_settings master object.
This commit is contained in:
Don Mitchell
2013-03-01 16:05:58 -05:00
parent d186e5d186
commit e55bb845b2
4 changed files with 42 additions and 80 deletions

View File

@@ -20,8 +20,8 @@
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
var course_updates = new CMS.Models.CourseUpdateCollection();
course_updates.reset(${course_updates|n});
course_updates.urlbase = '${url_base}';
course_updates.fetch();
var course_handouts = new CMS.Models.ModuleInfo({
id: '${handouts_location}'