* ajax get the task detail.

This commit is contained in:
chencongzhi520@gmail.com
2013-06-27 02:23:04 +00:00
parent 3fe6368478
commit 5b37b3b0bf
4 changed files with 18 additions and 2 deletions
+2 -1
View File
@@ -23,8 +23,9 @@
<?php foreach($tasks as $task):?>
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="true">
<h1><?php echo $task->name;?></h1>
<h1 onClick="showDetail('task', <?php echo $task->id;?>)"><?php echo $task->name;?></h1>
<div><?php echo $task->desc;?></div>
<div id='item<?php echo $task->id;?>'><?php echo $task->desc;?></div>
<div data-role='navbar'>
<ul>
<?php