* Fix bug.

This commit is contained in:
滔哥
2017-12-22 14:23:55 +08:00
parent 223e0612dc
commit e9419639d6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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")));
}
+1 -1
View File
@@ -330,7 +330,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
foreach ($memberPairs as $key => $value)
{
if(empty($key)) continue;
echo "<li class='option' data-key='$key'>" . html::a("javascript:$(\".table-actions #assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '</li>';
echo "<li class='option' data-key='$key'>" . html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\",\"hiddenwin\")", $value, '', '') . '</li>';
}
echo "</ul>";
if($withSearch) echo "<div class='menu-search'><div class='input-group input-group-sm'><input type='text' class='form-control' placeholder=''><span class='input-group-addon'><i class='icon-search'></i></span></div></div>";