From: Marcin Koziej Date: Wed, 9 Jan 2013 10:08:06 +0000 (+0100) Subject: fix generation of tags X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/2cb75203ca8c818977153f6b9b72030333d232e3?ds=inline;hp=-c fix generation of tags --- 2cb75203ca8c818977153f6b9b72030333d232e3 diff --git a/lib/librarian b/lib/librarian index 79da3449..36ded31b 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit 79da3449684beeb938735346e1d66093f51ba36d +Subproject commit 36ded31bc121ec258d35bd209d9da93224f773aa diff --git a/redakcja/static/edumed/js/edumed.coffee b/redakcja/static/edumed/js/edumed.coffee index 4bd8bed9..ec1bcd0e 100644 --- a/redakcja/static/edumed/js/edumed.coffee +++ b/redakcja/static/edumed/js/edumed.coffee @@ -34,7 +34,7 @@ class Excercise extends Binding check: -> scores = [] - $(".question").each (i, question) => + $(".question", @element).each (i, question) => scores.push(@check_question question) score = [0, 0] diff --git a/redakcja/static/edumed/js/edumed.js b/redakcja/static/edumed/js/edumed.js index a48e19ac..89483802 100644 --- a/redakcja/static/edumed/js/edumed.js +++ b/redakcja/static/edumed/js/edumed.js @@ -64,7 +64,7 @@ var score, scores, _this = this; scores = []; - $(".question").each(function(i, question) { + $(".question", this.element).each(function(i, question) { return scores.push(_this.check_question(question)); }); score = [0, 0];