From e095749c9029bb5ebc015ba4d4ef96ef12384b98 Mon Sep 17 00:00:00 2001 From: acognet Date: Thu, 19 Aug 2021 11:11:37 +0200 Subject: [PATCH] Fix typo --- .../base/components/datatable/static/layout.ready.js.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base/components/datatable/static/layout.ready.js.twig b/templates/base/components/datatable/static/layout.ready.js.twig index 51fa96a67..a3df5d7cd 100644 --- a/templates/base/components/datatable/static/layout.ready.js.twig +++ b/templates/base/components/datatable/static/layout.ready.js.twig @@ -42,9 +42,9 @@ var oTable{{ sListIDForVarSuffix }} = $('#{{ oUIBlock.GetId() }}').DataTable({ pageLength: {{ oUIBlock.GetOption("pageLength") }}, {% endif %} {% if oUIBlock.GetOption("dom") is not empty %} - dom: "<'ibo-datatable-toolbar'{{ oUIBlock.GetOption("dom") }}>t", + dom: "<'ibo-datatable--toolbar'{{ oUIBlock.GetOption("dom") }}>t", {% else %} - dom: "<'ibo-datatable--toolbar'<'ibo-datatable--toolbar-left' pl><'ibo-datatable--toolbar-right' i>>t<'ibo-datatable--toolbar'<'ibo-datatable--toolbar-left' pl><'ibo-datatable--toolbar-right' i>>", + dom: "<'ibo-datatable--toolbar'<'ibo-datatable--toolbar-left' pl><'ibo-datatable--toolbar-right' i>>t<'ibo-datatable--toolbar'<'ibo-datatable--toolbar-left' pl><'ibo-datatable--toolbar-right' i>>", {% endif %} lengthMenu: [[ {{ iPageSize }}, {{ iPageSize*2 }}, {{ iPageSize*3 }}, {{ iPageSize*4 }}, -1], [ {{ iPageSize }}, {{ iPageSize*2 }}, {{ iPageSize*3 }}, {{ iPageSize*4 }}, "{{ 'UI:Datatables:Language:DisplayLength:All'|dict_s }}"]], columns: [