From 52d9ebc1b0d7b46d19cf1a59b39c52f80a3285d7 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 1 Sep 2015 16:34:23 +0200 Subject: Send the language as a request parameter --- js/codeq/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/codeq/login.js') 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); -- cgit v1.2.1