fix saving an edited default grading scheme from assignment page
test plan: * edit an assignment, selecting "Display Grade as" to "Letter Grade" * click "View Grading Scheme" to see the default grading scheme * click on the edit icon to edit it * save the grading scheme * it should work closes #CNVS-25096 Change-Id: I49b08bc50e7b2fc57fd70c2d9afc2031419e4294 Reviewed-on: https://gerrit.instructure.com/68437 Reviewed-by: Jeremy Stanley <jeremy@instructure.com> Tested-by: Jenkins QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com> Product-Review: James Williams <jamesw@instructure.com>
This commit is contained in:
parent
28795ba78f
commit
ab07a6b245
|
@ -3,7 +3,7 @@
|
|||
<% grading_standard_list ||= false %>
|
||||
<% read_only ||= false %>
|
||||
<% data = grading_standard.data rescue GradingStandard.default_grading_standard %>
|
||||
<div class="grading_standard" id="grading_standard_<%= grading_standard ? grading_standard.id : 'blank' %>">
|
||||
<div class="grading_standard" id="grading_standard_<%= grading_standard && grading_standard.id ? grading_standard.id : 'blank' %>">
|
||||
<div class="display_grading_standard">
|
||||
<div class="standard_title text-center">
|
||||
<% if !read_only %>
|
||||
|
|
Loading…
Reference in New Issue