From 2cb75203ca8c818977153f6b9b72030333d232e3 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 9 Jan 2013 11:08:06 +0100 Subject: [PATCH 1/1] fix generation of tags --- lib/librarian | 2 +- redakcja/static/edumed/js/edumed.coffee | 2 +- redakcja/static/edumed/js/edumed.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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]; -- 2.20.1