diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-19 13:36:50 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-10-19 14:42:56 +0200 |
commit | cb84c6558b66e1441ddfc9701d91c9c994335198 (patch) | |
tree | cfe415fccb0e0b51d9d019bd70896c387cf8285e /js/codeq/comms.js | |
parent | bea986b587a8e61234430bc1144609e1a5f117b4 (diff) |
Show attempted/solved status in problem list
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r-- | js/codeq/comms.js | 7 |
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', |