Fixed typos in docs/ref/contrib/admin/javascript.txt.
This commit is contained in:
parent
12b9aa279f
commit
9e26a8331d
|
@ -28,7 +28,7 @@ In your custom ``change_form.html`` template, extend the
|
|||
|
||||
{% block admin_change_form_document_ready %}
|
||||
{{ block.super }}
|
||||
<script type="text/javascript" src="{% static 'app/formset_handlers.js' %}></script>
|
||||
<script type="text/javascript" src="{% static 'app/formset_handlers.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
.. snippet:: javascript
|
||||
|
@ -66,7 +66,7 @@ namespace, just listen to the event triggered from there. For example:
|
|||
|
||||
{% block admin_change_form_document_ready %}
|
||||
{{ block.super }}
|
||||
<script type="text/javascript" src="{% static 'app/unregistered_handlers.js' %}></script>
|
||||
<script type="text/javascript" src="{% static 'app/unregistered_handlers.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
.. snippet:: javascript
|
||||
|
|
Loading…
Reference in New Issue