* Fix bug #47674, hide showAllModule in unmultiple execution.

This commit is contained in:
liumengyi
2024-04-16 15:03:30 +08:00
parent 458cbea97d
commit a172e6fbef
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ class datatable extends control
*/
public function ajaxDisplay(string $datatableID, string $moduleName, string $methodName, string $currentModule, string $currentMethod)
{
$this->app->loadLang($currentModule);
$this->app->loadConfig($currentModule);
$this->loadModel($currentModule);
if($moduleName == 'execution' && $methodName == 'task' && $this->config->vision != 'lite') $this->view->execution = $this->execution->getByID($this->session->execution);
$this->view->datatableID = $datatableID;
$this->view->moduleName = $moduleName;
$this->view->methodName = $methodName;
+1 -1
View File
@@ -45,7 +45,7 @@ form
set::value($showModule)
)
),
$moduleName == 'execution' && $methodName == 'task' && $this->config->vision != 'lite' ? formGroup
!empty($execution->multiple) ? formGroup
(
set::label($lang->datatable->showAllModule),
radiolist