* adjust testtask view.

This commit is contained in:
wangyidong
2014-08-26 05:34:51 +00:00
parent be13f77d93
commit fb9d817546
5 changed files with 21 additions and 30 deletions

View File

@@ -439,6 +439,8 @@ class testtask extends control
$actionID = $this->action->create('testtask', $taskID, 'Started', $this->post->comment);
$this->action->logHistory($actionID, $changes);
}
if(isonlybody()) die(js::reload('parent.parent'));
die(js::locate($this->createLink('testtask', 'view', "taskID=$taskID"), 'parent'));
}
@@ -478,6 +480,8 @@ class testtask extends control
$actionID = $this->action->create('testtask', $taskID, 'Closed', $this->post->comment);
$this->action->logHistory($actionID, $changes);
}
if(isonlybody()) die(js::reload('parent.parent'));
die(js::locate($this->createLink('testtask', 'view', "taskID=$taskID"), 'parent'));
}