Merge pull request #1228 from edx/nick/fix-customization-visibility
Bug fix - text_customization should not show in settings
This commit is contained in:
@@ -10,7 +10,6 @@ MAXIMUM_ATTEMPTS = "Maximum Attempts"
|
||||
PROBLEM_WEIGHT = "Problem Weight"
|
||||
RANDOMIZATION = 'Randomization'
|
||||
SHOW_ANSWER = "Show Answer"
|
||||
TEXT_CUSTOMIZATION = "text_customization"
|
||||
|
||||
|
||||
@step('I have created a Blank Common Problem$')
|
||||
@@ -38,7 +37,6 @@ def i_see_advanced_settings_with_values(step):
|
||||
[PROBLEM_WEIGHT, "", False],
|
||||
[RANDOMIZATION, "Never", False],
|
||||
[SHOW_ANSWER, "Finished", False],
|
||||
[TEXT_CUSTOMIZATION, "[object Object]", False]
|
||||
])
|
||||
|
||||
|
||||
|
||||
@@ -1190,5 +1190,6 @@ class CapaDescriptor(CapaFields, RawDescriptor):
|
||||
def non_editable_metadata_fields(self):
|
||||
non_editable_fields = super(CapaDescriptor, self).non_editable_metadata_fields
|
||||
non_editable_fields.extend([CapaDescriptor.due, CapaDescriptor.graceperiod,
|
||||
CapaDescriptor.force_save_button, CapaDescriptor.markdown])
|
||||
CapaDescriptor.force_save_button, CapaDescriptor.markdown,
|
||||
CapaDescriptor.text_customization])
|
||||
return non_editable_fields
|
||||
|
||||
Reference in New Issue
Block a user