From 799b3b366fcda5693b165e3835a180cc0acbc549 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 21 Mar 2023 11:19:24 +0800 Subject: [PATCH] * Code for bug #33144. --- module/common/view/datatable.fix.html.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/common/view/datatable.fix.html.php b/module/common/view/datatable.fix.html.php index 9702ab042c..4a805cd705 100644 --- a/module/common/view/datatable.fix.html.php +++ b/module/common/view/datatable.fix.html.php @@ -19,6 +19,8 @@ $(function() var $btnToolbar = $('#main .table-header .btn-toolbar:first'); if($btnToolbar.length > 0) { + if($('.dropdown #tableCustomBtn').length) $('#tableCustomBtn').closest('.dropdown').remove(); + datatable->$datatableId->mode) ? $config->datatable->$datatableId->mode : 'table';?> var $dropdown = $(''); var $dropmenu = $('');