fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changing order of questions
[edumed.git]
/
wtem
/
static
/
wtem
/
edumed.coffee
diff --git
a/wtem/static/wtem/edumed.coffee
b/wtem/static/wtem/edumed.coffee
index
cb1920b
..
f4c5c28
100644
(file)
--- a/
wtem/static/wtem/edumed.coffee
+++ b/
wtem/static/wtem/edumed.coffee
@@
-297,6
+297,12
@@
class Uporzadkuj extends Exercise
for p in pkts
parent.prepend(p)
+ get_answer: (question) ->
+ answer = []
+ $(".question-piece", @element).each (i, qpiece) =>
+ answer.push($(qpiece).attr('data-pos'))
+ return answer
+
# XXX propozycje="1/0"
class Luki extends Exercise