aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/vehicle_journeys/edit.js.slim
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/vehicle_journeys/edit.js.slim')
-rw-r--r--app/views/vehicle_journeys/edit.js.slim18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/vehicle_journeys/edit.js.slim b/app/views/vehicle_journeys/edit.js.slim
index a692bb543..9556d8474 100644
--- a/app/views/vehicle_journeys/edit.js.slim
+++ b/app/views/vehicle_journeys/edit.js.slim
@@ -1,9 +1,9 @@
-$(document).ready(function() {
- $("#vehicle_journey_journey_pattern_id").change(
- function(){
- var url = "#{select_journey_pattern_referential_line_route_vehicle_journey_path( @referential, @line, @route, @vehicle_journey)}?journey_pattern_id="+
- $("#vehicle_journey_journey_pattern_input select option:selected").attr("value");
- $.get(url);
- }
- )
-});
+| $(document).ready(function() {
+| $("#vehicle_journey_journey_pattern_id").change(
+| function(){
+| var url = "#{select_journey_pattern_referential_line_route_vehicle_journey_path( @referential, @line, @route, @vehicle_journey)}?journey_pattern_id="+
+| $("#vehicle_journey_journey_pattern_input select option:selected").attr("value");
+| $.get(url);
+| }
+| )
+| });