From cec3412bbf4586fd80030edd91ef75f250055084 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Thu, 27 Jun 2013 05:28:20 +0000 Subject: [PATCH] * code for task#1424. --- module/bug/view/m.browse.html.php | 3 ++- module/my/view/m.task.html.php | 1 + module/project/view/m.task.html.php | 1 + module/task/view/m.view.html.php | 5 ++++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/module/bug/view/m.browse.html.php b/module/bug/view/m.browse.html.php index b91f7b2b61..df4ba1ca23 100755 --- a/module/bug/view/m.browse.html.php +++ b/module/bug/view/m.browse.html.php @@ -16,8 +16,9 @@ status == 'closed') continue;?>
-

title;?>

+

title;?>

steps;?>
+
steps;?>
+session->set('taskType', $type);?>
diff --git a/module/project/view/m.task.html.php b/module/project/view/m.task.html.php index 599f1144ce..06092b1a37 100644 --- a/module/project/view/m.task.html.php +++ b/module/project/view/m.task.html.php @@ -12,6 +12,7 @@ ?>
+session->set('tastType', '');?>
diff --git a/module/task/view/m.view.html.php b/module/task/view/m.view.html.php index 3e2cc4b672..eec4cc3eb4 100644 --- a/module/task/view/m.view.html.php +++ b/module/task/view/m.view.html.php @@ -1 +1,4 @@ -createLink('project', 'task', "projectID=$project->id"), 'parent'));?> +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')); +?>