summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/codeq/init.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/init.js b/js/codeq/init.js
index 6030f7c..f34382a 100644
--- a/js/codeq/init.js
+++ b/js/codeq/init.js
@@ -1,5 +1,5 @@
/* CodeQ: an online programming tutor.
- Copyright (C) 2015 UL FRI
+ Copyright (C) 2015,2016 UL FRI
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
@@ -85,6 +85,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
codeq.template.setResources(resourceTree); // save the loaded resource tree
codeq.fire('init'); // tell any interested modules that we are now initialized, perhaps they want to initialize too
+ codeq.fire('layoutchange'); // ensure a layout is set
codeq.setLang(lang || 'en'); // initial language setting, this also translates the GUI
// go to login
codeq.globalStateMachine.transition('login');