summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-25 15:52:32 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-25 15:52:32 +0100
commitb7cb6ffc3f81bb8c6d37d187bb41e5e7118ab09e (patch)
tree90f67e7e9a0935de2ec0da0edfe3425b16d8c50f /js/codeq/comms.js
parent0d5288b56645549ca4d7e76fa7e587b9af832d3c (diff)
Add a screen to view own solutions
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 d3f9252..c3f86f5 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -469,6 +469,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
});
},
+ getSolutions: function commsGetSolutions (problem_ids) {
+ return this.send({
+ 'action': 'get_solutions',
+ 'problem_ids': problem_ids
+ });
+ },
+
loadProblem: function commsLoadProblem (problem_id) {
return this.send({
'action': 'load_problem',