Skip to content

Commit

Permalink
Merge pull request UbuntuEvangelist#359 from ramonchu2k/SAM-2515
Browse files Browse the repository at this point in the history
SAM-2515: Samigo autosave doesn't work (inlining related)
  • Loading branch information
jonespm committed Apr 21, 2015
2 parents 551a8c5 + e005153 commit 2d9e57d
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
Expand Up @@ -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" />

Expand Down Expand Up @@ -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 2d9e57d

Please sign in to comment.