Injected ApiHelper into the ParentRelationHandler

pull/1745/head
Marek Takac 10 years ago
parent 7ea8921db8
commit 6e97f46764
  1. 3
      app/assets/javascripts/angular/work_packages/view_models/relations-handler.js

@ -127,7 +127,8 @@ angular.module('openproject.viewModels')
return ChildrenRelationsHandler;
}])
.factory('ParentRelationsHandler', ['CommonRelationsHandler', 'WorkPackageService', function(CommonRelationsHandler, WorkPackageService) {
.factory('ParentRelationsHandler', ['CommonRelationsHandler', 'WorkPackageService', 'ApiHelper',
function(CommonRelationsHandler, WorkPackageService, ApiHelper) {
function ParentRelationsHandler(workPackage, parents, relationsId) {
var handler = new CommonRelationsHandler(workPackage, parents, relationsId);

Loading…
Cancel
Save