aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorZog2018-01-09 16:39:44 +0100
committerZog2018-01-09 16:39:44 +0100
commit2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e (patch)
treeb2b50919a882539046fd629322c8a91de6b3b2dd /app/views
parenta0e05d7b2d9be6f52d88f365739ca2eab406a2f2 (diff)
downloadchouette-core-2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e.tar.bz2
Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selects
When the number of possible values is low (<10), display the values right away, don't use an Ajax query
Diffstat (limited to 'app/views')
-rw-r--r--app/views/vehicle_journeys/index.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/vehicle_journeys/index.html.slim b/app/views/vehicle_journeys/index.html.slim
index ebcac8197..66e90d839 100644
--- a/app/views/vehicle_journeys/index.html.slim
+++ b/app/views/vehicle_journeys/index.html.slim
@@ -26,6 +26,7 @@
| window.line_footnotes = #{raw @footnotes};
| window.perms = #{raw @perms};
| window.features = #{raw @features};
+ | window.all_missions = #{(@all_missions.to_json).html_safe};
| window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe};
= javascript_pack_tag 'vehicle_journeys/index.js'