* finish the task #652.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-12-17 02:47:00 +00:00
parent aadf721e87
commit 185f7d4628
6 changed files with 16 additions and 8 deletions
+6 -2
View File
@@ -190,7 +190,9 @@ class task extends control
{
if($change['field'] == 'status')
{
echo js::alert($this->lang->task->remindBug . $task->fromBug);
$confirmURL = $this->createLink('bug', 'view', "id=$task->fromBug");
$cancelURL = $this->server->HTTP_REFERER;
die(js::confirm(sprintf($this->lang->task->remindBug, $task->fromBug), $confirmURL, $cancelURL, 'parent', 'parent'));
}
}
}
@@ -339,7 +341,9 @@ class task extends control
{
if($change['field'] == 'status')
{
echo js::alert($this->lang->task->remindBug . $task->fromBug);
$confirmURL = $this->createLink('bug', 'view', "id=$task->fromBug");
$cancelURL = $this->server->HTTP_REFERER;
die(js::confirm(sprintf($this->lang->task->remindBug, $task->fromBug), $confirmURL, $cancelURL, 'parent', 'parent'));
}
}
}