diff options
author | 2019-04-19 14:22:51 +0100 | |
---|---|---|
committer | 2019-04-19 14:22:51 +0100 | |
commit | 6bd4ba5359a8eddd07dddf24bf341eac362a324e (patch) | |
tree | d8233c1976417913cfb306b348c51bf2641b8dec /pydis_site/templates/wiki/move.html | |
parent | Move JS into files (diff) |
Continued cleanup
Diffstat (limited to 'pydis_site/templates/wiki/move.html')
-rw-r--r-- | pydis_site/templates/wiki/move.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pydis_site/templates/wiki/move.html b/pydis_site/templates/wiki/move.html index 1d797e86..6452ffa2 100644 --- a/pydis_site/templates/wiki/move.html +++ b/pydis_site/templates/wiki/move.html @@ -59,9 +59,11 @@ </form> {% addtoblock "js" %} - <script type="text/javascript" src="{% static "js/wiki/move.js" %}"></script> - + <script type="text/javascript"> + $('#id_slug').val('{{ urlpath.slug }}'); + select_path('{{urlpath.parent.pk}}', '{{urlpath.parent}}'); + </script> {% endaddtoblock %} {% endblock %} |