datatracker/ietf/templates/submit/last_confirmation_step.html
Ole Laursen 0bc71c7146 Fix problem with concurrent posts as reported in #813 by preventing
accidentally submitting a post twice (with Javascript) and modifying the
move-old-files-to-archive code to not move the files away if they
belong to the same submission as the one we're accepting (this
mitigates a concurrent post to at least not end up with a non-existing
draft).
 - Legacy-Id: 4112
2012-03-16 17:22:33 +00:00

27 lines
618 B
HTML

{% extends "submit/submit_base.html" %}
{% block title %}Confirm Auto-Post{% endblock %}
{% block submit_content %}
<h2>Confirm auto-post</h2>
<p>
Authorization key accepted. Please press the button below to finish Auto-Post of <strong>{{ detail.filename }}-{{ detail.revision }}</strong>
</p>
<form action="" method="post">
<input type="submit" value="Auto-Post" />
</form>
{% endblock %}
{% block scripts %}
jQuery(function () {
jQuery("form").submit(function() {
if (this.submittedAlready)
return false;
else
this.submittedAlready = true;
});
});
{% endblock %}