diff --git a/module/product/control.php b/module/product/control.php index 54254ebd8a..831835d4f6 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -129,6 +129,7 @@ class product extends control /* Load datatable. */ $this->loadModel('datatable'); + $this->loadModel('execution'); /* Set product, module and query. */ $productID = $this->product->saveState($productID, $this->products); diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index b9169996f8..4780b13a5a 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -21,8 +21,8 @@ $unfoldStories = isset($config->product->browse->unfoldStories) ? json_decode($config->product->browse->unfoldStories, true) : array(); $unfoldStories = zget($unfoldStories, $productID, array()); js::set('unfoldStories', $unfoldStories); -js::set('unfoldAll', $lang->project->treeLevel['all']); -js::set('foldAll', $lang->project->treeLevel['root']); +js::set('unfoldAll', $lang->execution->treeLevel['all']); +js::set('foldAll', $lang->execution->treeLevel['root']); js::set('storyType', $storyType); $lang->story->createCommon = $storyType == 'story' ? $lang->story->createStory : $lang->story->createRequirement; $isProjectStory = $this->app->rawModule == 'projectstory';