* Adjust bug and case module for task #4638.

This commit is contained in:
chenfeiCF
2018-07-09 14:04:42 +08:00
parent b6ea3b5c53
commit cd12e90d46
15 changed files with 129 additions and 351 deletions
-8
View File
@@ -1111,14 +1111,6 @@ class bug extends control
*/
public function linkBugs($bugID, $browseType = '', $param = 0)
{
/* Link bugs. */
if(!empty($_POST))
{
$this->bug->linkBugs($bugID);
if(isonlybody()) die(js::closeModal('parent.parent', '', "function(){parent.parent.loadLinkBugs('$bugID')}"));
die(js::locate($this->createLink('bug', 'edit', "bugID=$bugID"), 'parent'));
}
/* Get bug and queryID. */
$bug = $this->bug->getById($bugID);
$queryID = ($browseType == 'bySearch') ? (int)$param : 0;