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

This commit is contained in:
liumengyi
2024-04-16 15:40:27 +08:00
parent d3fe6e5a40
commit f49c1c4aa1
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
-1
View File
@@ -113,7 +113,6 @@ sidebar
set::settingLink(createLink('tree', 'browsetask', "rootID=$execution->id&productID=0")),
set::settingApp($execution->multiple ? 'execution' : 'project'),
set::closeLink(createLink('execution', 'task')),
set::showDisplay($execution->multiple),
set::app($app->tab)
)
);