Changeset - f7daa45ac2d4
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2011-03-20 22:29:46
ohnobinki@ohnopublishing.net
Fix IE compatibility by avoiding the use of the dot operator to access an object's 'class' member because IE expected a JS class definition.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
scripts/scheduleInput.js
Show inline comments
 
@@ -280,13 +280,13 @@ function add_sections(cnum, data)
 
    /*
 
     * Handle course-level interdependencies.
 
     */
 
    if (data.dependencies)
 
	jQuery.each(data.dependencies, function(i, dep)
 
		    {
 
			var new_course_num = add_class_n(dep.class);
 
			var new_course_num = add_class_n(dep['class']);
 
			add_sections(new_course_num, dep);
 
		    });
 
}
 

	
 
	//--------------------------------------------------
 
	// Adds a new class to the input.
0 comments (0 inline, 0 general)