* finish the task #652.
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user