Commit ed8dd91d by Giulio Gratta

changing message that shows when users go forward and back from openended and…

changing message that shows when users go forward and back from openended and fix save reload message
parent 92ab91e8
......@@ -58,7 +58,7 @@
<span id="answer_${id}"></span>
</fieldset>
% if show_correctness == "never" and (value or status not in ['unsubmitted']):
<div class="capa_alert">${submitted_message}</div>
% if show_correctness == "never" and (value and status not in ['unsubmitted']):
<div class="capa_alert">${submitted_message}</div>
%endif
</form>
......@@ -230,7 +230,7 @@ class @CombinedOpenEnded
$.postWithPrefix "#{@ajax_url}/get_last_response", data, (response) =>
if response.success && response.response != ""
@answer_area.html(response.response)
@gentle_alert "This has been submitted"
@gentle_alert "You have already answered this question."
else
@submit_button.show()
@answer_area.attr("disabled", false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment