Skip to content

Commit

Permalink
SAK-42626 remove unnecessary hidden links that were focusable by keyb…
Browse files Browse the repository at this point in the history
…oard users (sakaiproject#7431)
  • Loading branch information
ottenhoff authored and Miguel Pellicer committed Oct 9, 2019
1 parent 94d8160 commit e99206c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1885,10 +1885,6 @@ public String saveAndExit() {
return saveAndExit(true);
}

public String saveNoCheck() {
return saveAndExit(false);
}

public String saveAndExit(boolean needToCheck)
{
if (needToCheck) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ Headings for delivery pages, needs to have msg=DeliveryMessages.properties, etc.

<h:inputHidden id="elapsed" value="#{delivery.timeElapse}" />
<h:inputHidden id="outoftime" value="#{delivery.timeOutSubmission}"/>
<h:commandLink title="#{deliveryMessages.t_submit}" id="submitforgrade" action="#{delivery.submitForGradeFromTimer}" value="" />
<h:commandLink id="saveNoCheck" action="#{delivery.saveNoCheck}" value="" />
<h:commandLink id="submitNoCheck" action="#{delivery.submitFromTimeoutPopup}" value="" />

<script type="text/JavaScript">
function isFromLink() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ function saveTime()
<h:inputHidden id="assessTitle" value="#{delivery.assessmentTitle}" />
<h:inputHidden id="elapsed" value="#{delivery.timeElapse}" />
<h:inputHidden id="outoftime" value="#{delivery.timeOutSubmission}"/>
<h:commandLink id="submitforgrade" action="#{delivery.submitForGrade}" value="" />

<h:messages styleClass="messageSamigo" rendered="#{! empty facesContext.maximumSeverity}" layout="table"/>
<p style="margin-bottom:0"><h:outputText value="#{deliveryMessages.seeOrHide}" /> </p>
Expand Down

0 comments on commit e99206c

Please sign in to comment.