diff options
| author | Zog | 2018-01-09 16:39:44 +0100 |
|---|---|---|
| committer | Zog | 2018-01-09 16:39:44 +0100 |
| commit | 2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e (patch) | |
| tree | b2b50919a882539046fd629322c8a91de6b3b2dd /app/javascript/packs | |
| parent | a0e05d7b2d9be6f52d88f365739ca2eab406a2f2 (diff) | |
| download | chouette-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/javascript/packs')
| -rw-r--r-- | app/javascript/packs/vehicle_journeys/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/packs/vehicle_journeys/index.js b/app/javascript/packs/vehicle_journeys/index.js index 53c5d5417..ab28371fe 100644 --- a/app/javascript/packs/vehicle_journeys/index.js +++ b/app/javascript/packs/vehicle_journeys/index.js @@ -70,7 +70,8 @@ var initialState = { type: '', modalProps: {}, confirmModal: {} - } + }, + missions: window.all_missions } if (window.jpOrigin){ |
