diff --git a/module/story/control.php b/module/story/control.php index 11cb341123..31113029bf 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -157,6 +157,7 @@ class story extends control $this->view->source = $source; $this->view->pri = $pri; $this->view->productID = $productID; + $this->view->projectID = $projectID; $this->view->estimate = $estimate; $this->view->storyTitle = $title; $this->view->spec = $spec; diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index 038d69e846..6ed9a92181 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -93,7 +93,7 @@ story->reviewedBy;?> - story->needNotReview, '', "id='needNotReview'");?> + story->needNotReview, '', "id='needNotReview'" . ($projectID > 0 ? " checked='checked'" : ""));?> story->mailto;?> diff --git a/module/tree/view/edit.html.php b/module/tree/view/edit.html.php index 4f94b3bc26..6c2b5617df 100644 --- a/module/tree/view/edit.html.php +++ b/module/tree/view/edit.html.php @@ -24,7 +24,7 @@ $jsRoot = $webRoot . "js/"; icons['edit']);?> tree->edit;?> -
+ type == 'story');?> >