Switch selected WP details for all tabs

pull/1860/head
Hagen Schink 10 years ago
parent 02edf8db4a
commit 895bd64050
  1. 2
      app/assets/javascripts/angular/work_packages/controllers/work-packages-list-controller.js

@ -273,7 +273,7 @@ angular.module('openproject.workPackages.controllers')
};
$scope.showWorkPackageDetails = function(id, force) {
if (force || $state.current.controller == "DetailsTabOverviewController") {
if (force || $state.current.url != "") {
$state.go(latestTab.getStateName(), { workPackageId: id });
}
};

Loading…
Cancel
Save