Removes client-side filter for types.

This removes the client-side filter for types (formerly planning element
types) in favor of the previously enabled server-side filter.
pull/445/head
Martin Czuchra 11 years ago committed by Stefan Frank
parent 343bac4182
commit baacf131fd
  1. 7
      app/assets/javascripts/timelines.js

@ -2098,7 +2098,6 @@ Timeline = {
},
filteredOut: function() {
var filtered = this.filteredOutForProjectFilter() ||
this.filteredOutForPlanningElementTypes() ||
this.filteredOutForResponsibles();
this.filteredOut = function() { return filtered; };
@ -2117,12 +2116,6 @@ Timeline = {
this.getResponsible()
);
},
filteredOutForPlanningElementTypes: function() {
return Timeline.filterOutBasedOnArray(
this.timeline.options.planning_element_types,
this.getPlanningElementType()
);
},
all: function(timeline) {
// collect all planning elements
var r = timeline.planning_elements;

Loading…
Cancel
Save