* Fix bug#42164.
This commit is contained in:
@@ -73,7 +73,7 @@ window.renderRowData = function($row, index, story)
|
||||
items.push({text: branches[branch], value: branch});
|
||||
}
|
||||
options.items = items;
|
||||
options.onChange = 'loadBranches(' + story.product + ', this)';
|
||||
options.onChange = function(){loadBranches(story.product, this)};
|
||||
options.defaultValue = story.branch;
|
||||
|
||||
$picker.render(options);
|
||||
|
||||
@@ -884,9 +884,8 @@ class storyZen extends story
|
||||
}
|
||||
|
||||
$modulePairs = $this->tree->getOptionMenu($productID, 'story', 0, $branches);
|
||||
$moduleList = $branchProduct ? $modulePairs : array(0 => $modulePairs);
|
||||
|
||||
$modules = array($productID => $moduleList);
|
||||
$modules = array($productID => $modulePairs);
|
||||
$branchTagOption = array($productID => $branchTagOption);
|
||||
$products = array($productID => $product);
|
||||
$plans = array($productID => $this->productplan->getBranchPlanPairs($productID, $branches, 'unexpired', true));
|
||||
|
||||
Reference in New Issue
Block a user