diff --git a/src/templates/orders/_index.twig b/src/templates/orders/_index.twig index 166cadf630..a254291ff8 100644 --- a/src/templates/orders/_index.twig +++ b/src/templates/orders/_index.twig @@ -18,16 +18,6 @@ "Total Revenue", ]) %} -{% block initJs %} - Craft.elementIndex = Craft.createElementIndex('{{ elementType|e("js") }}', $('#page-container'), { - elementTypeName: '{{ elementInstance.displayName()|e("js") }}', - elementTypePluralName: '{{ elementInstance.pluralDisplayName()|e("js") }}', - context: '{{ context }}', - storageKey: 'elementindex.{{ elementType|e("js") }}', - toolbarSelector: '#toolbar' - }); -{% endblock %} - {% if orderStatusHandle is defined and orderStatusHandle %} {% js %} window.defaultStatusHandle = '{{ orderStatusHandle }}';