This commit is contained in:
wangyidong
2023-04-25 08:41:02 +08:00
parent 61bf3f9d4a
commit b2b588adb4
+1 -1
View File
@@ -2352,7 +2352,7 @@ class project extends control
{
$project = $this->project->getById($projectID);
$executions = array('' => '') + $this->loadModel('execution')->getPairs($projectID, $type, $mode);
if(!empty($project->multiple)) $disabled = 'disabled';
$disabled = !empty($project->multiple) ? '' : 'disabled';
}
if($this->app->getViewType() == 'json') return print(json_encode($executionList));