diff options
| author | jpl | 2017-06-12 16:41:26 +0200 |
|---|---|---|
| committer | jpl | 2017-06-12 16:41:26 +0200 |
| commit | c82bde8ec037d378203f7501a036a92aa35ca703 (patch) | |
| tree | 58a0af96b4fa4f07f395698eddf4813ae15515b3 /app | |
| parent | 98d6e35c3ca8d92584e661f2af82646b80487029 (diff) | |
| download | chouette-core-c82bde8ec037d378203f7501a036a92aa35ca703.tar.bz2 | |
RefsĀ #3763: fixing string parse on itineraries comments
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/javascripts/es6_browserified/itineraries/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/es6_browserified/itineraries/index.js b/app/assets/javascripts/es6_browserified/itineraries/index.js index 601824c3c..504734801 100644 --- a/app/assets/javascripts/es6_browserified/itineraries/index.js +++ b/app/assets/javascripts/es6_browserified/itineraries/index.js @@ -38,7 +38,7 @@ const getInitialState = () => { for_alighting: v.for_alighting || "normal", longitude: v.longitude || 0, latitude: v.latitude || 0, - comment: v.comment, + comment: v.comment.replace("'", "\'"), olMap: { isOpened: false, json: {} |
