summaryrefslogtreecommitdiff
path: root/js/codeq/core.js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-26 15:23:26 +0200
committerAleš Smodiš <aless@guru.si>2015-09-26 15:23:26 +0200
commitea0c8e8a9fdc1cbcd33ab344c02df490f13f840e (patch)
treebc7f0346da0dabd3b40b717afbd97ae23ff356c6 /js/codeq/core.js
parent2d2efca92351293ab179956efee78ef8f697afd6 (diff)
Reimplemented translation support: leave the DOM structure intact, upon display language switch only replace language-dependent content.
Diffstat (limited to 'js/codeq/core.js')
-rw-r--r--js/codeq/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/core.js b/js/codeq/core.js
index 441c257..1685dd7 100644
--- a/js/codeq/core.js
+++ b/js/codeq/core.js
@@ -385,8 +385,8 @@
codeq.availableLangs.push(key);
}
+ codeq.fire('init'); // tell any interested modules that we are not initialized, perhaps they want to initialize too
codeq.setLang(lang || 'en'); // initial language setting
-
// go to login
codeq.globalStateMachine.transition('login');
});