* Fix the bugs of upgrade.

This commit is contained in:
hufangzhou
2022-01-14 13:35:35 +08:00
parent dda972beee
commit eb71ea3d2d
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -24,7 +24,7 @@ class execution extends control
* @var string
* @access public
*/
public $objectType;
public $objectType = 'execution';
/**
* Construct function, Set executions.
@@ -47,7 +47,6 @@ class execution extends control
{
if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create'));
}
$this->objectType = $this->config->systemMode == 'classic' ? 'project' : 'execution';
}
/**
+2
View File
@@ -818,6 +818,8 @@ function hiddenProject()
*/
function setProgramByProduct(product)
{
if(product.length == 0) return;
var programID = product.attr('data-programid');
$(':checkbox[data-productid]').each(function()
{