Fixing tasks bulk creation

stable
Alejandro Alonso 2016-12-01 11:36:37 +01:00
parent dbee1ef8c0
commit 42b244151e
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ CreateBulkTasksDirective = ($repo, $rs, $rootscope, $loading, lightboxService, $
promise = $rs.tasks.bulkCreate(projectId, sprintId, usId, data) promise = $rs.tasks.bulkCreate(projectId, sprintId, usId, data)
promise.then (result) -> promise.then (result) ->
result = _.map(result, (x) => $model.make_model('userstories', x)) result = _.map(result, (x) => $model.make_model('tasks', x))
currentLoading.finish() currentLoading.finish()
$rootscope.$broadcast("taskform:bulk:success", result) $rootscope.$broadcast("taskform:bulk:success", result)
lightboxService.close($el) lightboxService.close($el)