anchor.diff:                               && authorization.submitAssessmentForGrade)}">
       <h:commandButton id="submitForGradeTOC1" type="submit" value="#{deliveryMessages.button_submit_grading}"
         action="#{delivery.confirmSubmitTOC}" styleClass="active"  
  -      onclick="disableSubmitForGradeTOC1();javascript:saveTime()" onkeypress="disableSubmitForGradeTOC1();javascript:saveTime()"
  +      onclick="disableSubmitForGradeTOC1();javascript:saveTime()" 
         disabled="#{delivery.actionString=='previewAssessment'}" />
     </h:panelGroup>
   
  
positive.code: <!-- SAVE AND EXIT BUTTON FOR TAKE ASSESMENT AND PREVIEW ASSESSMENT-->
    <h:commandButton id="exitTOC1" type="submit" value="#{deliveryMessages.button_exit}"
      action="#{delivery.saveAndExit}"
      onclick="disableExitTOC1();javascript:saveTime()" onkeypress="disableExitTOC1();javascript:saveTime()"
      rendered="#{(delivery.actionString=='takeAssessment'
               || delivery.actionString=='previewAssessment') && !delivery.hasTimeLimit}" 
      disabled="#{delivery.actionString=='previewAssessment'}" />
  
negative.code: <!-- QUIT BUTTON FOR TAKE ASSESSMENT VIA URL -->
    <h:commandButton id="exitTOC2" type="submit" value="#{deliveryMessages.button_exit}"
      action="#{delivery.saveAndExit}"
      onclick="disableExitTOC2();javascript:saveTime()" 
      rendered="#{delivery.actionString=='takeAssessmentViaUrl' && !delivery.hasTimeLimit}" >
    </h:commandButton>
  </p>
  