Skip to content

Commit

Permalink
SAK-41483: Test & Quizzes: Javascript error when a student is removin…
Browse files Browse the repository at this point in the history
…g a uploaded file and time remaining is out
  • Loading branch information
jesusmmp authored and Miguel Pellicer committed Mar 14, 2019
1 parent 578532b commit d799046
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions samigo/samigo-app/src/webapp/jsf/shared/removeMedia.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
<h:commandButton id="cancel" value="#{commonMessages.cancel_action}" type="submit" action="takeAssessment">
<f:actionListener type="org.sakaiproject.tool.assessment.ui.listener.delivery.UpdateTimerListener" />
</h:commandButton>
<h:commandButton id="save" styleClass="hidden" type="submit" value="#{commonMessages.action_save}"
action="#{delivery.save_work}" rendered="#{delivery.actionString=='previewAssessment'
|| delivery.actionString=='takeAssessment'
|| delivery.actionString=='takeAssessmentViaUrl'}" />
</p>
<!-- HEADING -->
<%@ include file="/jsf/delivery/questionProgress.jspf" %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
});

function leaveAssessment() {
window.open("submitted" + routeSuffix, "_self");
window.open("../delivery/submitted" + routeSuffix, "_self");
}

timeoutDialog.dialog({
Expand Down

0 comments on commit d799046

Please sign in to comment.