diff --git a/module/execution/js/story.js b/module/execution/js/story.js index 1565b077fe..83287656ce 100644 --- a/module/execution/js/story.js +++ b/module/execution/js/story.js @@ -20,7 +20,7 @@ $(function() }); $(document).on('click', '.story-toggle', function(e) - { + { var $toggle = $(this); var id = $(this).data('id'); var isCollapsed = $toggle.toggleClass('collapsed').hasClass('collapsed'); diff --git a/module/project/model.php b/module/project/model.php index 2850a33034..b491d4792b 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -2957,7 +2957,7 @@ class projectModel extends model $this->lang->$navGroup->dividerMenu = $this->lang->project->noMultiple->{$model}->dividerMenu; /* Single execution and has no product project menu. */ - if(!$project->hasProduct and !$project->multiple and !empty($this->config->URAndSR)) + if(!$project->multiple and !empty($this->config->URAndSR)) { if(isset($this->lang->$navGroup->menu->storyGroup)) {