* finish the product selecter. task#516.
This commit is contained in:
@@ -24,7 +24,7 @@ class testcaseModel extends model
|
||||
public function setMenu($products, $productID)
|
||||
{
|
||||
$this->loadModel('product')->setMenu($products, $productID);
|
||||
$selectHtml = html::select('productID', $products, $productID, "onchange=\"switchProduct(this.value, 'testcase', 'browse');\"");
|
||||
$selectHtml = $this->product->select($products, $productID, 'testcase', 'browse');
|
||||
foreach($this->lang->testcase->menu as $key => $menu)
|
||||
{
|
||||
$replace = ($key == 'product') ? $selectHtml . $this->lang->arrow : $productID;
|
||||
|
||||
Reference in New Issue
Block a user