diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-10-15 16:09:48 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-10-15 16:09:48 +0200 |
commit | 085f41db15450957e3af9ef2ba6689da2be26f41 (patch) | |
tree | a106d7b4db331bfec6f4e9fdfbf86b4103336671 /js | |
parent | 0374d419b6856e89fe494abe0241a62b163d2cca (diff) |
added gui_lang to the saml_login request
Diffstat (limited to 'js')
-rw-r--r-- | js/codeq/comms.js | 2 | ||||
-rw-r--r-- | js/codeq/core.js | 4 |
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; }, |