Fix bug #1087
parent
044ad0b090
commit
893b01a2c9
|
@ -57,11 +57,10 @@ CreateProject = ($rootscope, $repo, $confirm, $location, $navurls, $rs, $project
|
||||||
promise.then(onSuccessSubmit, onErrorSubmit)
|
promise.then(onSuccessSubmit, onErrorSubmit)
|
||||||
|
|
||||||
$scope.$on "projects:create", ->
|
$scope.$on "projects:create", ->
|
||||||
$scope.$apply ->
|
$scope.data = {
|
||||||
$scope.data = {
|
total_story_points: 100
|
||||||
total_story_points: 100
|
total_milestones: 5
|
||||||
total_milestones: 5
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if !$scope.templates.length
|
if !$scope.templates.length
|
||||||
$rs.projects.templates().then (result) =>
|
$rs.projects.templates().then (result) =>
|
||||||
|
|
Loading…
Reference in New Issue