* Rename openApp to tab.

This commit is contained in:
zhujinyong
2021-08-31 00:30:48 +08:00
parent ecab3e0392
commit 664e290f97
93 changed files with 560 additions and 560 deletions
+2 -2
View File
@@ -265,7 +265,7 @@ class task extends control
if($project->model == 'waterfall') $this->config->task->create->requiredFields .= ',estStarted,deadline';
}
if($this->app->openApp == 'my')
if($this->app->tab == 'my')
{
$taskLink = $this->createLink('my', 'work', 'mode=task');
}
@@ -699,7 +699,7 @@ class task extends control
/* Set menu. */
$execution = $this->execution->getById($task->execution);
if($this->app->openApp == 'execution') $this->execution->setMenu($execution->id);
if($this->app->tab == 'execution') $this->execution->setMenu($execution->id);
$this->executeHooks($taskID);