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 { return {
restrict: 'E', restrict: 'E',
replace: true, replace: true,
scope: true,
templateUrl: '/templates/timelines/timeline_table.html', templateUrl: '/templates/timelines/timeline_table.html',
scope: true,
link: function(scope, element, attributes) { link: function(scope, element, attributes) {
scope.columns = scope.timeline.options.columns; scope.columns = scope.timeline.options.columns;
scope.height = scope.timeline.decoHeight(); scope.height = scope.timeline.decoHeight();

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

Loading…
Cancel
Save