* Fix bug.
This commit is contained in:
@@ -685,6 +685,8 @@ class project extends control
|
||||
$this->loadModel('build');
|
||||
$project = $this->project->getByID($projectID);
|
||||
|
||||
$this->session->set('buildList', $this->app->getURI(true));
|
||||
|
||||
/* Get products' list. */
|
||||
$products = $this->project->getProducts($projectID, false);
|
||||
$products = array('' => '') + $products;
|
||||
|
||||
@@ -20,6 +20,6 @@ $(function()
|
||||
*/
|
||||
function changeProduct(productID)
|
||||
{
|
||||
link = createLink('project', 'build', 'type=product¶m=' + productID);
|
||||
link = createLink('project', 'build', 'projectID=' + projectID + '&type=product¶m=' + productID);
|
||||
location.href = link;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<?php
|
||||
if(common::hasPriv('build', 'linkstory') and common::hasPriv('build', 'view') and common::canBeChanged('build', $build))
|
||||
{
|
||||
echo html::a($this->createLink('build', 'view', "buildID=$build->id&type=story&link=true"), "<i class='icon icon-link'></i>", '', "class='btn' title='{$lang->build->linkStory}'");
|
||||
echo html::a($this->createLink('build', 'view', "buildID=$build->id&type=story&link=true"), "<i class='icon icon-link'></i>", '', "class='btn' title='{$lang->build->linkStory}' data-app='project'");
|
||||
}
|
||||
common::printIcon('testtask', 'create', "product=$build->product&project={$build->execution}&build=$build->id", $build, 'list', 'bullhorn', '', '', '', "data-app='execution'");
|
||||
$lang->project->bug = $lang->execution->viewBug;
|
||||
|
||||
Reference in New Issue
Block a user