+ 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
+8 -1
View File
@@ -25,6 +25,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/autocomplete.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<script language='javascript'>
/* 拷贝需求标题为任务标题。*/
function copyStoryTitle()
@@ -61,6 +62,12 @@ function setPreview()
$('#preview').attr('href', storyLink);
}
}
/* 富文本编辑器。*/
KE.show({
id:'desc',
items:simpleTools
});
var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(document).ready(function()
{
@@ -121,7 +128,7 @@ $(document).ready(function()
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='5' class='area-1'");?></td>
<td><?php echo html::textarea('desc', '', "rows='8' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->files;?></th>