* Remove comment editor config from edit page.

This commit is contained in:
sunguangming
2024-04-26 16:15:26 +08:00
parent 549cdd55c1
commit 2051453e56
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ $config->task->unfinishedStatus = array('wait', 'doing', 'pause');
$config->task->editor = new stdclass();
$config->task->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
$config->task->editor->edit = array('id' => 'desc,comment', 'tools' => 'simpleTools');
$config->task->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
$config->task->editor->view = array('id' => 'comment,lastComment', 'tools' => 'simpleTools');
$config->task->editor->assignto = array('id' => 'comment', 'tools' => 'simpleTools');
$config->task->editor->start = array('id' => 'comment', 'tools' => 'simpleTools');
-1
View File
@@ -11,7 +11,6 @@ $config->testcase->edit = new stdclass();
$config->testcase->edit->requiredFields = 'title,type';
$config->testcase->editor = new stdclass();
$config->testcase->editor->edit = array('id' => 'comment', 'tools' => 'simpleTools');
$config->testcase->editor->view = array('id' => 'comment,lastComment', 'tools' => 'simpleTools');
$config->testcase->editor->review = array('id' => 'comment', 'tools' => 'simpleTools');
+1 -2
View File
@@ -653,12 +653,11 @@ class testcaseZen extends testcase
->join('linkCase', ',')
->cleanInt('story,product,branch,module')
->skipSpecial('script')
->stripTags($this->config->testcase->editor->edit['id'], $this->config->allowedTags)
->remove('files,labels,scriptFile,scriptName')
->removeIF($formData->data->auto == 'auto' && !$formData->data->script, 'script')
->get();
return $this->loadModel('file')->processImgURL($case, $this->config->testcase->editor->edit['id'], $this->post->uid);
return $case;
}
/**