* Remove comment editor config from edit page.
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user