Skip to content
Permalink
Browse files

pulse feedback messages after submitting a part

  • Loading branch information...
christianp committed Feb 21, 2019
1 parent 5eac7b3 commit 14f9e497879f9ba33de2f88180db8d9444125fa4
Showing with 1 addition and 1 deletion.
  1. +1 −1 themes/default/templates/xslt/part.xslt
@@ -78,7 +78,7 @@
<xsl:if test="count(../part) &gt; 1 or ancestor::steps">
<button class="btn btn-primary submitPart" data-bind="visible: showSubmitPart, click: controls.submit"><localise>question.submit part</localise></button>
</xsl:if>
<div class="feedbackMessages" data-bind="visible: feedbackMessages().length>0" localise-data-jme-context-description="part.feedback">
<div class="feedbackMessages" data-bind="pulse: scoreFeedback.update, visible: feedbackMessages().length>0" localise-data-jme-context-description="part.feedback">
<p class="out-of-date-message" data-bind="visible: isDirty"><localise>part.feedback out of date</localise></p>
<ol data-bind="visible: showFeedbackMessages, foreach: feedbackMessages">
<li class="feedbackMessage" data-bind="attr: {{'data-credit-change': credit_change}}"><span data-bind="visible: $parent.showFeedbackIcon, css: 'feedback-icon '+icon"></span> <span data-bind="latex: message"></span></li>

0 comments on commit 14f9e49

Please sign in to comment.
You can’t perform that action at this time.