aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-04-03 16:32:47 +0200
committerZog2018-04-03 16:32:47 +0200
commit9b771756f7aa7defec4057d4778aefefb5704d19 (patch)
treedb2d3e6debfc709d98443ed514f141c3e7603950
parentb274526124fb5e2242ff482ab504a7ae59dd817b (diff)
downloadchouette-core-9b771756f7aa7defec4057d4778aefefb5704d19.tar.bz2
Refs #6386; Fix Timetables edit6386-fix-timetables-editor
-rw-r--r--app/javascript/time_tables/actions/index.js1
-rw-r--r--app/javascript/time_tables/containers/App.js1
-rw-r--r--app/views/vehicle_journeys/index.html.slim1
3 files changed, 0 insertions, 3 deletions
diff --git a/app/javascript/time_tables/actions/index.js b/app/javascript/time_tables/actions/index.js
index 98b9eab4b..3127d11b8 100644
--- a/app/javascript/time_tables/actions/index.js
+++ b/app/javascript/time_tables/actions/index.js
@@ -4,7 +4,6 @@ import reject from 'lodash/reject'
import some from 'lodash/some'
import every from 'lodash/every'
import clone from '../../helpers/clone'
-const I18n = clone(window, "I18n")
const actions = {
weekDays: (index) => {
diff --git a/app/javascript/time_tables/containers/App.js b/app/javascript/time_tables/containers/App.js
index 5963f8f1d..c12e33ef5 100644
--- a/app/javascript/time_tables/containers/App.js
+++ b/app/javascript/time_tables/containers/App.js
@@ -10,7 +10,6 @@ import SaveTimetable from './SaveTimetable'
import ConfirmModal from './ConfirmModal'
import ErrorModal from './ErrorModal'
import clone from '../../helpers/clone'
-const I18n = clone(window, "I18n", true)
class App extends Component {
componentDidMount(){
diff --git a/app/views/vehicle_journeys/index.html.slim b/app/views/vehicle_journeys/index.html.slim
index cd55d3ce6..c92fb7bae 100644
--- a/app/views/vehicle_journeys/index.html.slim
+++ b/app/views/vehicle_journeys/index.html.slim
@@ -33,7 +33,6 @@
| window.all_missions = #{(@all_missions.to_json).html_safe};
| window.custom_fields = #{(@custom_fields.to_json).html_safe};
| window.extra_headers = #{(@extra_headers.to_json).html_safe};
- // | window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe};
- if has_feature?(:vehicle_journeys_return_route)
= javascript_tag do