Skip to content

Commit

Permalink
SAM-2515: Samigo autosave doesn't work
Browse files Browse the repository at this point in the history
ramonchu2k committed Apr 14, 2015
1 parent c746552 commit e005153
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions samigo/samigo-app/src/webapp/jsf/delivery/deliverAssessment.jsp
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@

</head>

<body onload="<%= request.getAttribute("html.body.onload") %>; setLocation(); checkRadio(); SaveFormContentAsync('deliverAssessment.faces', 'takeAssessmentForm', 'takeAssessmentForm:autoSave', 'takeAssessmentForm:lastSubmittedDate1', 'takeAssessmentForm:lastSubmittedDate2', <h:outputText value="#{delivery.autoSaveRepeatMilliseconds}"/>, <h:outputText value="#{delivery.actionString=='takeAssessment'}"/>); setTimeout('setLocation2()',2)" >
<body>

<h:outputText value="<a name='top'></a>" escape="false" />

@@ -595,7 +595,14 @@ document.links[newindex].onclick();
</h:form>
<!-- end content -->
<f:verbatim></div></f:verbatim>
<script type="text/JavaScript">fixImplicitLabeling();</script>
<script type="text/JavaScript">
<%= request.getAttribute("html.body.onload") %>
setLocation();
checkRadio();
fixImplicitLabeling();
SaveFormContentAsync('deliverAssessment.faces', 'takeAssessmentForm', 'takeAssessmentForm:autoSave', 'takeAssessmentForm:lastSubmittedDate1', 'takeAssessmentForm:lastSubmittedDate2', <h:outputText value="#{delivery.autoSaveRepeatMilliseconds}"/>, <h:outputText value="#{delivery.actionString=='takeAssessment' or delivery.actionString=='takeAssessmentViaUrl'}"/>);
setTimeout('setLocation2()',2);
</script>
</body>
</html>
</f:view>

0 comments on commit e005153

Please sign in to comment.