Commit 4b7b2313 by Jacek Bzdak

Renamed lms_utils -> step_util

parent 2af1ddca
...@@ -1027,7 +1027,7 @@ class MentoringWithExplicitStepsBlock(BaseMentoringBlock, StudioContainerWithNes ...@@ -1027,7 +1027,7 @@ class MentoringWithExplicitStepsBlock(BaseMentoringBlock, StudioContainerWithNes
})) }))
fragment.add_css_url(self.runtime.local_resource_url(self, 'public/css/problem-builder.css')) fragment.add_css_url(self.runtime.local_resource_url(self, 'public/css/problem-builder.css'))
fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/vendor/underscore-min.js')) fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/vendor/underscore-min.js'))
fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/lms_util.js')) fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/step_util.js'))
fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/mentoring_with_steps.js')) fragment.add_javascript_url(self.runtime.local_resource_url(self, 'public/js/mentoring_with_steps.js'))
fragment.add_resource(loader.load_unicode('templates/html/mentoring_attempts.html'), "text/html") fragment.add_resource(loader.load_unicode('templates/html/mentoring_attempts.html'), "text/html")
......
...@@ -5,7 +5,7 @@ function MentoringStepBlock(runtime, element) { ...@@ -5,7 +5,7 @@ function MentoringStepBlock(runtime, element) {
var submitXHR, resultsXHR, var submitXHR, resultsXHR,
message = $(element).find('.sb-step-message'); message = $(element).find('.sb-step-message');
var childManager = new ProblemBuilderUtilLMS.ChildManager(element, runtime); var childManager = new ProblemBuilderStepUtil.ChildManager(element, runtime);
function callIfExists(obj, fn) { function callIfExists(obj, fn) {
if (typeof obj !== 'undefined' && typeof obj[fn] == 'function') { if (typeof obj !== 'undefined' && typeof obj[fn] == 'function') {
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
} }
window.ProblemBuilderUtilLMS = { window.ProblemBuilderStepUtil = {
ChildManager: ChildManager ChildManager: ChildManager
......
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