diff options
author | markop <marko.pusnik@gurucue.com> | 2015-07-17 12:46:14 +0200 |
---|---|---|
committer | markop <marko.pusnik@gurucue.com> | 2015-07-17 12:46:14 +0200 |
commit | 3356ce13478bf5724f9e3e03c2b3cc1cc8598f53 (patch) | |
tree | 837ece27004d10d95182e6bb0446c05562e3f68e /js | |
parent | cfb1832029679eeaa644eae719688073a36c650e (diff) | |
parent | 8917c1fc6dc395e9f39bba4ea7e1189f9e61c23d (diff) |
Merge branch 'master' of odie.guru.si:codeq-web
Diffstat (limited to 'js')
-rw-r--r-- | js/codeq.js | 2 | ||||
-rw-r--r-- | js/prolog.js | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/js/codeq.js b/js/codeq.js index e867ffd..472cab0 100644 --- a/js/codeq.js +++ b/js/codeq.js @@ -726,7 +726,7 @@ window.phandler = null; // TODO: this is for debug only codeq.system.load({ type: 'text', - url: 'sister.py', + url: 'sins.py', callback: function (data, status, url) { if (!data) return; var info = codeq.parseDefinition(data); diff --git a/js/prolog.js b/js/prolog.js index c405200..28c1b69 100644 --- a/js/prolog.js +++ b/js/prolog.js @@ -190,7 +190,11 @@ }; var jqButtons = $('#block-toolbar button'); - $(jqButtons.get(0)).on('click', function () { handler.processServerHints([{id:'x_must_be_female'}]); }); +// $(jqButtons.get(0)).on('click', function () { handler.processServerHints([{id:'x_must_be_female'}]); }); +// $(jqButtons.get(1)).on('click', function () { handler.processServerHints([{id:'popup_unknown', start: 20, end: 26}]); }); +// $(jqButtons.get(2)).on('click', function () { handler.processServerHints([{id:'drop_down', start: 20, end: 26, choices:['ena', 'dva', 'tri']}]); }); + + $(jqButtons.get(0)).on('click', function () { handler.processServerHints([{id:'list_empty'}]); }); $(jqButtons.get(1)).on('click', function () { handler.processServerHints([{id:'popup_unknown', start: 20, end: 26}]); }); $(jqButtons.get(2)).on('click', function () { handler.processServerHints([{id:'drop_down', start: 20, end: 26, choices:['ena', 'dva', 'tri']}]); }); |