summaryrefslogtreecommitdiff
path: root/js/codeq/problem_list.js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-08 19:01:10 +0200
committerAleš Smodiš <aless@guru.si>2015-10-08 19:01:10 +0200
commit084e0806bc5aff00fc697cb51dee7b4a331e4b64 (patch)
treeb1df59c0ac4e8b2a13eb59a14d50f14137c324e0 /js/codeq/problem_list.js
parent70b73f8e36900ab5b0784684fccc4069af1bae96 (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.js2
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) {