diff options
author | Aleš Smodiš <aless@guru.si> | 2015-10-04 19:45:51 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-10-04 19:45:51 +0200 |
commit | c3bbf004fc6c9278f954b0b6c69e2a256351a7d0 (patch) | |
tree | 68a2c068945fdea2c08aa565b1c2b305b784c10d /js/codeq/prolog.js | |
parent | 30f3e117840b2d7929822c7436ac47ab66a755e0 (diff) |
Adapted to changes in codeq-server: load_problem and end_problem upon entering and leaving the problem solving screen.
Diffstat (limited to 'js/codeq/prolog.js')
-rw-r--r-- | js/codeq/prolog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index 017dee2..a42bfc3 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -344,8 +344,11 @@ .done(); }); + codeq.comms.loadProblem(problemDef.id).done(); + return { destroy: function () { + codeq.comms.endProblem().done(); $('#screen_prolog .title').text('');//empty the title text jqAllButtons.off(); editor.off('change'); |