+ add product param to bug and case.

This commit is contained in:
wangchunsheng
2009-12-28 02:16:32 +00:00
parent 0f393f2ade
commit 231cbb67b1
3 changed files with 9 additions and 5 deletions
+2
View File
@@ -30,6 +30,8 @@ class testcaseModel extends model
{
$selectHtml = html::select('productID', $products, $productID, "onchange=\"switchProduct(this.value, 'case');\"");
common::setMenuVars($this->lang->testcase->menu, 'product', $selectHtml . $this->lang->arrow);
common::setMenuVars($this->lang->testcase->menu, 'bug', $productID);
common::setMenuVars($this->lang->testcase->menu, 'testcase', $productID);
}
/* 创建一个Case。*/