summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/codeq/comms.js2
-rw-r--r--js/codeq/core.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index 225026b..5908e0d 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -527,7 +527,7 @@
},
'samlLogin': function(){
- return this.send({'action':'saml_login'});
+ return this.send({'action':'saml_login','gui_lang':codeq.getLang()});
}
};
})();
diff --git a/js/codeq/core.js b/js/codeq/core.js
index 33c00a4..6d3a5dc 100644
--- a/js/codeq/core.js
+++ b/js/codeq/core.js
@@ -392,6 +392,10 @@
codeq.fire('langchange', {'lang': newLang});
},
+ 'getLang': function(){
+ return codeq.settings['gui_lang'];
+ },
+
'setResources': function (newResources) {
resources = newResources;
},