Start working on Sync View between WP List and Panel

pull/4338/head
Roman Roelofsen 9 years ago
parent 33b4827c02
commit 8955e82ea5
  1. 4
      frontend/app/components/wp-table/wp-table.directive.js

@ -30,7 +30,7 @@ angular
.module('openproject.workPackages.directives')
.directive('wpTable', wpTable);
function wpTable(WorkPackagesTableService, $window, PathHelper, apiWorkPackages, $state){
function wpTable(WorkPackagesTableService, $window, PathHelper, apiWorkPackages, $state, wpSyncEditService){
return {
restrict: 'E',
replace: true,
@ -200,6 +200,8 @@ function wpTable(WorkPackagesTableService, $window, PathHelper, apiWorkPackages,
};
scope.openWorkPackageInFullView = function(row) {
wpSyncEditService.putAsLoaded(row.object);
clearSelection();
scope.setCheckedStateForAllRows(false);

Loading…
Cancel
Save