Commit b9d9c7b8 by Don Mitchell

Fixed infinite loop in the 2nd video string parser which I'd fixed in

the first yesterday. Fixed formatting of compounded video string errors.
parent 1eacd5e3
......@@ -61,7 +61,7 @@ CMS.Models.Settings.CourseDetails = Backbone.Model.extend({
// GET "http://gdata.youtube.com/feeds/api/videos/" + videokey
}
if (!_.isEmpty(vid_errors)) {
errors.intro_video = vid_errors.join('/n');
errors.intro_video = vid_errors.join(' ');
}
}
if (!_.isEmpty(errors)) return errors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment