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

the first yesterday. Fixed formatting of compounded video string errors.
This commit is contained in:
Don Mitchell
2012-12-14 09:48:04 -05:00
parent 1eacd5e346
commit b9d9c7b8c0

View File

@@ -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;