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);})