disable wtem registration
[edumed.git] / wtem / static / wtem / edumed.js
index 18ed499..df98753 100644 (file)
       return _results;
     };
 
+    Uporzadkuj.prototype.get_answer = function(question) {
+      var answer,
+        _this = this;
+      answer = [];
+      $(".question-piece", this.element).each(function(i, qpiece) {
+        return answer.push($(qpiece).attr('data-pos'));
+      });
+      return answer;
+    };
+
     return Uporzadkuj;
 
   })(Exercise);