OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/javascripts/angular/directives/timeline-table-row-directiv...

15 lines
392 B

openprojectApp.directive('timelineTableRow', [function() {
return {
restrict: 'A',
scope: true,
link: function(scope, element, attributes) {
// set dom element
scope.row.dom_element = element;
scope.$watch('row.expanded', function(expanded, formerlyExpanded) {
if(expanded !== formerlyExpanded) scope.timeline.rebuildAll();
});
}
};
}]);