fix: Make the author button work on doc submit (#3850)
This commit is contained in:
parent
3fdfa3a6ef
commit
92e67aca8f
|
@ -1,7 +1,7 @@
|
|||
$(document)
|
||||
.ready(function () {
|
||||
// fill in submitter info when an author button is clicked
|
||||
$("form.idsubmit input[type=button].author")
|
||||
$("form.idsubmit button.author")
|
||||
.on("click", function () {
|
||||
var name = $(this)
|
||||
.data("name");
|
||||
|
@ -66,4 +66,4 @@ $(document)
|
|||
next.insertAfter(cloner);
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -595,5 +595,7 @@
|
|||
{% include "submit/problem-reports-footer.html" %}
|
||||
{% endblock %}
|
||||
{% block js %}
|
||||
{{ all_forms|merge_media:'js' }}<script src="{% static "ietf/js/list.js" %}"></script>
|
||||
{% endblock %}
|
||||
{{ all_forms|merge_media:'js' }}
|
||||
<script src="{% static "ietf/js/list.js" %}"></script>
|
||||
<script src="{% static "ietf/js/draft-submit.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue