{% extends "admin/delete_confirmation.html" %}

{% block extrahead %}
{{ block.super }}
<script>
jQuery(function($) {
    if (location.search == '?fromtree') {
        $('.cancellink').attr('href', '../../')
    }
});
</script>
{% endblock %}
