diff options
author | Aleš Smodiš <aless@guru.si> | 2015-10-08 19:01:10 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-10-08 19:01:10 +0200 |
commit | 084e0806bc5aff00fc697cb51dee7b4a331e4b64 (patch) | |
tree | b1df59c0ac4e8b2a13eb59a14d50f14137c324e0 /js/codeq/problem_list.js | |
parent | 70b73f8e36900ab5b0784684fccc4069af1bae96 (diff) |
Adapted to the reworked session handling on the server. Bugfixed the lang setting handling.
Diffstat (limited to 'js/codeq/problem_list.js')
-rw-r--r-- | js/codeq/problem_list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index 1b20fe2..eae86ed 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -260,7 +260,7 @@ } codeq.wait( Q.all([ - codeq.comms.getProblem(language, ref.g, ref.p), // TODO: use ref.id instead // the current solution + codeq.comms.getCurrentSolution(ref.id), // the current user's solution to the selected problem getProblemData(language, ref.g, ref.p) // the (cached) result of processProblemData() ]) .spread(function (userProblemData, generalProblemData) { |