From e9419639d6e0fafa833b2032b321a228eebce4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=94=E5=93=A5?= Date: Fri, 22 Dec 2017 14:23:55 +0800 Subject: [PATCH] * Fix bug. --- module/bug/control.php | 2 +- module/bug/view/browse.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 7abd9c2b1c..6343c59727 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -847,7 +847,7 @@ class bug extends control } $this->loadModel('score')->create('ajax', 'batchOther'); } - if($type == 'product') die(js::locate($this->createLink('bug', 'browse', "productID=$projectID"))); + if($type == 'product') die(js::locate($this->createLink('bug', 'browse', "productID=$projectID"), 'parent')); if($type == 'my') die(js::locate($this->createLink('my', 'bug'))); die(js::locate($this->createLink('project', 'bug', "projectID=$projectID"))); } diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index d96aed6646..6c2bd0bce8 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -330,7 +330,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow foreach ($memberPairs as $key => $value) { if(empty($key)) continue; - echo "
  • " . html::a("javascript:$(\".table-actions #assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; + echo "
  • " . html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\",\"hiddenwin\")", $value, '', '') . '
  • '; } echo ""; if($withSearch) echo "";