diff options
| author | Luc Donnet | 2018-02-01 17:39:25 +0100 | 
|---|---|---|
| committer | GitHub | 2018-02-01 17:39:25 +0100 | 
| commit | f6b2a0b17591a786d41ba77ba1a2664223fc4b96 (patch) | |
| tree | 7db780a7ea455bb182e5fd9a1ef1830d43d2795f /app/javascript/helpers | |
| parent | c172bdb34862b6b48ea52e0de71a9444f14c2478 (diff) | |
| parent | b91895f897f6a9b401844e373d020c3f458fc130 (diff) | |
| download | chouette-core-f6b2a0b17591a786d41ba77ba1a2664223fc4b96.tar.bz2 | |
Merge pull request #273 from af83/5798-show-return-times-on-vjs-editor
5798 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 | 
