diff options
| author | Zog | 2018-02-01 10:34:40 +0100 | 
|---|---|---|
| committer | Zog | 2018-02-01 10:34:40 +0100 | 
| commit | d114d549f7bc8a772803175dee9a665266d8ed04 (patch) | |
| tree | 228fa0008b6938d4d7682896df1d9578abdce872 /app/javascript/helpers | |
| parent | 90f54f0acfe65ff276a229239809ce0e9fddf0b0 (diff) | |
| download | chouette-core-d114d549f7bc8a772803175dee9a665266d8ed04.tar.bz2 | |
Refs #5798 @3h; Show return journeys on the journeys' editor.
Diffstat (limited to 'app/javascript/helpers')
| -rw-r--r-- | app/javascript/helpers/stop_area_header_manager.js | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/app/javascript/helpers/stop_area_header_manager.js b/app/javascript/helpers/stop_area_header_manager.js index 2c820caf9..5b18e2f63 100644 --- a/app/javascript/helpers/stop_area_header_manager.js +++ b/app/javascript/helpers/stop_area_header_manager.js @@ -42,6 +42,11 @@ export default class StopAreaHeaderManager {      let index = this.ids_list.indexOf(object_id)      let sp = this.stopPointsList[index]      let previousBreakpoint = this.stopPointsList[index - 1] +    if(sp == undefined){ +      console.log("STOP_POINT NOT FOUND: " + object_id) +      console.log("AVAILABLE IDS:" + this.ids_list) +      return +    }      if(index == 0 || (sp[attribute_to_check] != previousBreakpoint[attribute_to_check])){        showHeadline = true        headline = this.hasFeature('long_distance_routes') ? sp.country_name : sp.city_name | 
