* fix bug: when click backbutton not work.
This commit is contained in:
@@ -16,7 +16,12 @@
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class="a-center">
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -16,7 +16,12 @@
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class='a-center'>
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -9,7 +9,12 @@
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class='a-center'>
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::backButton("data-inline='true'");
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
echo html::hidden('finishedDate', $date);
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -29,7 +29,13 @@
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class="a-center">
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'") . html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1); ?></td>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
echo html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<table>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<td colspan="2">
|
||||
<?php
|
||||
echo html::submitButton('', 'data-inline="true" data-theme="b"');
|
||||
echo html::backButton("data-inline='true'");
|
||||
echo html::linkButton($lang->goback, $this->createLink('task', 'view', "taskID=$task->id"), 'self', "data-inline='true'");
|
||||
echo html::hidden('realStarted', helper::today());
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$this->session->set('taskID', $task->id);
|
||||
if($this->session->taskType) die(js::locate($this->createLink('my', 'task', "type={$this->session->taskType}"), 'parent'));
|
||||
die(js::locate($this->createLink('project', 'task', "projectID=$project->id"), 'parent'));
|
||||
if($this->session->taskType) die($this->locate($this->createLink('my', 'task', "type={$this->session->taskType}")));
|
||||
die($this->locate($this->createLink('project', 'task', "projectID=$project->id")));
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user