+ complete task #303:add kindeditor to bug, story, task, todo, testtask module.

This commit is contained in:
fujia
2010-09-09 10:02:53 +00:00
parent 2394cefd95
commit 3b3045fed1
304 changed files with 6910 additions and 1809 deletions
-2
View File
@@ -35,7 +35,6 @@ class taskModel extends model
{
$task = fixer::input('post')
->striptags('name')
->specialChars('desc')
->add('project', (int)$projectID)
->setDefault('estimate, left, story', 0)
->setDefault('deadline', '0000-00-00')
@@ -69,7 +68,6 @@ class taskModel extends model
$oldTask = $this->getById($taskID);
$task = fixer::input('post')
->striptags('name')
->specialChars('desc')
->setDefault('story, estimate, left, consumed', 0)
->setIF($this->post->story != false and $this->post->story != $oldTask->story, 'storyVersion', $this->loadModel('story')->getVersion($this->post->story))
->setIF($this->post->status == 'done', 'left', 0)