diff options
Diffstat (limited to 'app/assets/javascripts/journey_pattern.js.coffee')
| -rw-r--r-- | app/assets/javascripts/journey_pattern.js.coffee | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/assets/javascripts/journey_pattern.js.coffee b/app/assets/javascripts/journey_pattern.js.coffee index 062fc611e..0f203397b 100644 --- a/app/assets/javascripts/journey_pattern.js.coffee +++ b/app/assets/javascripts/journey_pattern.js.coffee @@ -3,6 +3,7 @@ jQuery -> if (event.type == 'mouseenter') if event.target.id.match(/^stop_point_(\w+)$/) stopAreaId = $("#"+event.target.id+" a").attr('href').match(/\d+$/)[0] + console.log(stopAreaId) placeMark = selectFeature.layer.getFeatureByFid( stopAreaId) selectFeature.unselectAll() selectFeature.select( placeMark) @@ -11,9 +12,3 @@ jQuery -> $(document).on("hover", '.journey_patterns.show div.stop_points .stop_point', select_stop_on_map) - make_ajax_pagination = () -> - $.get(this.href, null, null, 'script') - false - - $(document).on("click", '.stop_points_detail .pagination a', make_ajax_pagination) - |
