Refactoring create_course_utils and create_library_utils to reduce the amount of differences (mostly renames

This commit is contained in:
E. Kolpakov
2015-01-06 18:34:54 +03:00
parent 5eab2c5f52
commit 99caf602cb
5 changed files with 60 additions and 53 deletions

View File

@@ -62,7 +62,7 @@ define(["jquery", "js/common_helpers/ajax_helpers", "js/spec_helpers/view_helper
describe("Error messages", function () {
var setErrorMessage = function(selector, message) {
var element = $(selector).parent();
CreateCourseUtils.setNewCourseFieldInErr(element, message);
CreateCourseUtils.setFieldInErr(element, message);
return element;
};