Commit 86a65cac authored by Andreas Gärtner's avatar Andreas Gärtner

Removed test routine from lang controller.

parent 806ee93d
......@@ -166,11 +166,6 @@ Ext.application({
console.debug("Configuration loaded");
me.globalConfig = globalConfig;
me.mainTabPanel = Ext.create('ARSnova.view.MainTabPanel');
if (ARSnova.app.getController('Lang').activateTestRoutine) {
ARSnova.app.getController('Lang').testRoutine(me.mainTabPanel.tabPanel);
}
me.configLoaded.resolve();
}, function () {
console.error("Could not load configuration");
......
......@@ -24,8 +24,7 @@ Ext.define("ARSnova.controller.Lang", {
config: {
routes: {
'en': 'switchToEnglish',
'de': 'switchToGerman',
'test': 'onTest'
'de': 'switchToGerman'
}
},
......@@ -37,15 +36,6 @@ Ext.define("ARSnova.controller.Lang", {
this.switchTo('de');
},
onTest: function () {
this.activateTestRoutine = true;
},
testRoutine: function (tabPanel) {
tabPanel.testTabPanel = Ext.create('ARSnova.view.about.TestTabPanel');
tabPanel.add(tabPanel.testTabPanel);
},
switchTo: function (lang) {
localStorage.setItem("language", lang);
// remove hash from URL and reload language changes
......
......@@ -1099,7 +1099,7 @@
SHOW_STATISTIC: "Show<br/>statistics",
RELEASE_STATISTIC: "Release<br/>statistics",
RELEASE_QUESTION: "Release<br/>question",
ACTIVATE_TIMER: "Activate<br/>Timer",
ACTIVATE_TIMER: "Activate<br/>timer",
RELEASE_ALL_QUESTIONS: "Release<br/>questions",
RELEASE_VOTE: "Release<br/>vote",
RELEASE_ALL_VOTES: "Release<br/>all votes",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment