|
|
|
@ -67,7 +67,11 @@ module.exports = function( |
|
|
|
|
function activate() { |
|
|
|
|
EditableFieldsState.forcedEditState = true; |
|
|
|
|
vm.loaderPromise = WorkPackageService.initializeWorkPackage($scope.projectIdentifier, { |
|
|
|
|
type: PathHelper.apiV3TypePath($stateParams.type) |
|
|
|
|
_links: { |
|
|
|
|
type: { |
|
|
|
|
href: PathHelper.apiV3TypePath($stateParams.type) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}).then(function(wp) { |
|
|
|
|
vm.workPackage = wp; |
|
|
|
|
WorkPackageDisplayHelper.setFocus(); |
|
|
|
|