fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse dublincore
[redakcja.git]
/
redakcja
/
static
/
edumed
/
js
/
edumed.js
diff --git
a/redakcja/static/edumed/js/edumed.js
b/redakcja/static/edumed/js/edumed.js
index
2c5e308
..
f720aca
100644
(file)
--- a/
redakcja/static/edumed/js/edumed.js
+++ b/
redakcja/static/edumed/js/edumed.js
@@
-493,7
+493,7
@@
_ref = $(".question-piece", this.element);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
qp = _ref[_i];
_ref = $(".question-piece", this.element);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
qp = _ref[_i];
- if ($(qp).
data('
solution').split(/[ ,]+/).length > 1) {
+ if ($(qp).
attr('data-
solution').split(/[ ,]+/).length > 1) {
return true;
}
}
return true;
}
}
@@
-516,7
+516,7
@@
count = 0;
all = 0;
if (!minimum) {
count = 0;
all = 0;
if (!minimum) {
- all = $(".subject
s
.question-piece", question).length;
+ all = $(".subject .question-piece", question).length;
}
_ref = $(".predicate [data-predicate]", question);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
}
_ref = $(".predicate [data-predicate]", question);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {