Skip to content

Commit

Permalink
Allow Quizzes to be resolved and passed back via PowerSchool GPB Modal
Browse files Browse the repository at this point in the history
Fixes: SIS-2544

Test plan:
- Create a Quiz in a canvas course without a due date
- Create a Quiz in a canvas course with a due date
- Navigate to the Gradebook
- Confirm the modal says there is an assignment with one error
and one valid assignment.
- Add a due date to the quiz missing one
- Save and confirm the quiz was properly updated with the date you
gave the quiz in the modal

Change-Id: Id1205c1e21749395c65eeef53c551d69cf17beca
Reviewed-on: https://gerrit.instructure.com/91553
Reviewed-by: Jeremy Slade <[email protected]>
Tested-by: Jenkins
QA-Review: Adam Phillipps <[email protected]>
Product-Review: Oxana
  • Loading branch information
theluxembourg committed Oct 12, 2016
1 parent b672ed2 commit 7c0bb51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/jsx/gradebook/SISGradePassback/PostGradesDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ define([
&& (a.hadOriginalErrors == undefined || a.hadOriginalErrors == false)){ return }

//for handling the 'Everyone Else' scenario at the course level with sections that have overrides and other sections that are tied under the course "override"
else if(a.currentlySelected.id.toString() != store.overrideForEveryone(a)
&& a.currentlySelected.type == 'course'
else if(a.currentlySelected.type == 'course'
&& a.due_at != null
&& (a.hadOriginalErrors == undefined || a.hadOriginalErrors == false)){ return }

Expand Down

0 comments on commit 7c0bb51

Please sign in to comment.