mirror of https://github.com/zulip/zulip.git
confirm_preregistrationuser: Uninline script.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
ed63042480
commit
366dce5d52
|
@ -0,0 +1,3 @@
|
|||
$(function () {
|
||||
$("#register").submit();
|
||||
});
|
|
@ -1,5 +1,10 @@
|
|||
{% extends "zerver/base.html" %}
|
||||
|
||||
{% block customhead %}
|
||||
{{ super() }}
|
||||
{{ render_bundle('confirm-preregistrationuser') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{#
|
||||
|
@ -15,9 +20,4 @@ post to another view which executes in our code to produce the desired form.
|
|||
<input type="hidden" value="{% if full_name %}{{ full_name }}{% endif %}" name="full_name"/>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#register").submit();
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -61,6 +61,9 @@
|
|||
"jquery-validation/dist/jquery.validate.min.js",
|
||||
"./static/js/portico/signup.js"
|
||||
],
|
||||
"confirm-preregistrationuser": [
|
||||
"./static/js/portico/confirm-preregistrationuser.js"
|
||||
],
|
||||
"support": [
|
||||
"./static/js/analytics/support.js",
|
||||
"./static/styles/app_components.scss"
|
||||
|
|
Loading…
Reference in New Issue