summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-01 16:34:23 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-01 16:34:23 +0200
commit52d9ebc1b0d7b46d19cf1a59b39c52f80a3285d7 (patch)
tree9ceb4d83b22095350d8861c26234c563bb3be82d /js/codeq
parent63ed43e8a0fbe5f8d17fe67b2b262356eeb5c47c (diff)
Send the language as a request parameter
Diffstat (limited to 'js/codeq')
-rw-r--r--js/codeq/login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/login.js b/js/codeq/login.js
index 8135506..e1daadf 100644
--- a/js/codeq/login.js
+++ b/js/codeq/login.js
@@ -74,7 +74,7 @@
},
'success': function loginSuccessHandler(data, textStatus, jqXHR) {
if (data && (data.code === 0)) {
- window.location = identifier[0] + '.html#sid=' + data.sid + '/grp=' + identifier[1] + '/prb=' + problem;
+ window.location = identifier[0] + '.html#sid=' + data.sid + '/lang=' + identifier[0] + '/grp=' + identifier[1] + '/prb=' + problem;
}
else {
alert('Login failed: code=' + data.code + ', reason=' + data.message);