diff --git a/module/my/view/m.todo.html.php b/module/my/view/m.todo.html.php
index 7d33cdd1f8..dca889c476 100755
--- a/module/my/view/m.todo.html.php
+++ b/module/my/view/m.todo.html.php
@@ -24,12 +24,13 @@
private or ($todo->private and $todo->account == $app->user->account)):?>
-
name;?>
+
name;?>
desc;?>
+
desc;?>
id", $todo, 'list', '', 'hiddenwin');
+ common::printIcon('todo', 'finish', "id=$todo->id", $todo, 'button', '', 'hiddenwin');
if($todo->account == $app->user->account)
{
common::printIcon('todo', 'edit', "todoID=$todo->id");
diff --git a/module/todo/control.php b/module/todo/control.php
index 2b0911f205..58565ef308 100644
--- a/module/todo/control.php
+++ b/module/todo/control.php
@@ -401,4 +401,17 @@ class todo extends control
$this->display();
}
+
+ /**
+ * AJAX: get actions of a todo. for web app.
+ *
+ * @param int $todoID
+ * @access public
+ * @return void
+ */
+ public function ajaxGetDetail($todoID)
+ {
+ $this->view->actions = $this->loadModel('action')->getList('todo', $todoID);
+ $this->display();
+ }
}
diff --git a/module/todo/view/m.ajaxgetdetail.html.php b/module/todo/view/m.ajaxgetdetail.html.php
new file mode 100644
index 0000000000..c215076bb6
--- /dev/null
+++ b/module/todo/view/m.ajaxgetdetail.html.php
@@ -0,0 +1,2 @@
+
+