diff --git a/cms/static/js/base.js b/cms/static/js/base.js index 4140beb2da..51d358d0eb 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -225,7 +225,6 @@ function toggleSections(e) { function editSectionPublishDate(e) { e.preventDefault(); $modal = $('.edit-subsection-publish-settings').show(); - $modal = $('.edit-subsection-publish-settings').show(); $modal.attr('data-id', $(this).attr('data-id')); $modal.find('.start-date').val($(this).attr('data-date')); $modal.find('.start-time').val($(this).attr('data-time')); diff --git a/cms/templates/widgets/source-edit.html b/cms/templates/widgets/source-edit.html index c7460c9cf7..883190d6b3 100644 --- a/cms/templates/widgets/source-edit.html +++ b/cms/templates/widgets/source-edit.html @@ -12,7 +12,7 @@
- +
diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index 025d156e03..9b0cc44ab4 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -99,6 +99,7 @@ class CapaFields(object): seed = StringyInteger(help="Random seed for this student", scope=Scope.user_state) weight = StringyFloat(help="How much to weight this problem by", scope=Scope.settings) markdown = String(help="Markdown source of this module", scope=Scope.settings) + source_code = String(help="Source code for LaTeX and Word problems. This feature is not well-supported.", scope=Scope.settings) class CapaModule(CapaFields, XModule): diff --git a/common/lib/xmodule/xmodule/templates/html/latex_html.yaml b/common/lib/xmodule/xmodule/templates/html/latex_html.yaml index e3962d60a6..ff92f2aead 100644 --- a/common/lib/xmodule/xmodule/templates/html/latex_html.yaml +++ b/common/lib/xmodule/xmodule/templates/html/latex_html.yaml @@ -1,7 +1,6 @@ --- metadata: - display_name: E-text Written in LaTeX - source_processor_url: https://qisx.mit.edu:5443/latex2edx + display_name: E-text Written in LaTeX source_code: | \subsection{Example of E-text in LaTeX} diff --git a/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml b/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml index 81cb9dc353..303e439439 100644 --- a/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/latex_problem.yaml @@ -1,7 +1,6 @@ --- metadata: - display_name: Problem Written in LaTeX - source_processor_url: https://studio-input-filter.mitx.mit.edu/latex2edx + display_name: Problem Written in LaTeX source_code: | % Nearly any kind of edX problem can be authored using Latex as % the source language. Write latex as usual, including equations. The diff --git a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml index 876060e578..73a94ed941 100644 --- a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml @@ -1,7 +1,6 @@ --- metadata: display_name: Problem with Adaptive Hint - source_processor_url: https://qisx.mit.edu:5443/latex2edx source_code: | \subsection{Problem With Adaptive Hint}