summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-10-19 13:36:50 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-10-19 14:42:56 +0200
commitcb84c6558b66e1441ddfc9701d91c9c994335198 (patch)
treecfe415fccb0e0b51d9d019bd70896c387cf8285e /js/codeq/comms.js
parentbea986b587a8e61234430bc1144609e1a5f117b4 (diff)
Show attempted/solved status in problem list
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r--js/codeq/comms.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index 5908e0d..fe609c9 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -436,6 +436,13 @@
});
},
+ getAttempts: function commsGetAttempts (language) {
+ return this.send({
+ 'action': 'get_attempts',
+ 'language': language
+ });
+ },
+
loadProblem: function commsLoadProblem (problem_id) {
return this.send({
'action': 'load_problem',