Remove nodes from scope

not needed any more after renaming to rows
pull/913/head
Till Breuer 11 years ago
parent dffd38081a
commit 8be6968d9f
  1. 2
      app/assets/javascripts/angular/directives/timeline-table-directive.js
  2. 1
      app/assets/javascripts/angular/directives/timeline_directive.js

@ -2,8 +2,8 @@ openprojectApp.directive('timelineTable', [function() {
return {
restrict: 'E',
replace: true,
scope: true,
templateUrl: '/templates/timelines/timeline_table.html',
scope: true,
link: function(scope, element, attributes) {
scope.columns = scope.timeline.options.columns;
scope.height = scope.timeline.decoHeight();

@ -64,7 +64,6 @@ openprojectApp.directive('timeline', ['TimelineLoaderService', 'TimelineTableHel
scope.rows = [];
}
scope.nodes = scope.rows;
return scope.rows;
};

Loading…
Cancel
Save