From 66f08158e185ecfaf379cdb6cb5f25da4ae58ec4 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 23 Aug 2023 14:53:39 +0800 Subject: [PATCH] * Remove table switch for task list. --- module/common/view/datatable.fix.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/view/datatable.fix.html.php b/module/common/view/datatable.fix.html.php index d2dbf39ed0..02e8c04b9b 100644 --- a/module/common/view/datatable.fix.html.php +++ b/module/common/view/datatable.fix.html.php @@ -36,7 +36,7 @@ $(function() { $dropmenu.append("
  • datatable->custom?>
  • "); } - if(!(currentModule == 'execution' && currentMethod == 'all')) $dropmenu.append("
  • \", true);' id='switchToDatatable'>datatable->switchToDatatable : $lang->datatable->switchToTable;?>
  • "); + if(!(currentModule == 'execution' && (currentMethod == 'all' || currentMethod == 'task'))) $dropmenu.append("
  • \", true);' id='switchToDatatable'>datatable->switchToDatatable : $lang->datatable->switchToTable;?>
  • "); $dropdown.append($dropmenu) .appendTo($btnToolbar) .on('shown.zui.dropdown', function(){$btnToolbar.closest('.table-header').css('z-index', 11);})