stable
David Barragán Merino 2014-09-24 19:59:00 +02:00
parent 044ad0b090
commit 893b01a2c9
1 changed files with 4 additions and 5 deletions

View File

@ -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) =>