Minor parsing fix, remove b tag from selectors
This commit is contained in:
@@ -50,7 +50,7 @@ class CombinedOpenEndedRubric(object):
|
||||
success = False
|
||||
try:
|
||||
rubric_categories = self.extract_categories(rubric_xml)
|
||||
if score_list:
|
||||
if score_list and len(score_list)==len(rubric_categories):
|
||||
for i in xrange(0,len(rubric_categories)):
|
||||
category = rubric_categories[i]
|
||||
for j in xrange(0,len(category['options'])):
|
||||
|
||||
@@ -4,7 +4,7 @@ class @Rubric
|
||||
# finds the scores for each rubric category
|
||||
@get_score_list: () =>
|
||||
# find the number of categories:
|
||||
num_categories = $('span.rubric-category').length
|
||||
num_categories = $('.rubric-category').length
|
||||
|
||||
score_lst = []
|
||||
# get the score for each one
|
||||
@@ -23,7 +23,7 @@ class @Rubric
|
||||
|
||||
@check_complete: () ->
|
||||
# check to see whether or not any categories have not been scored
|
||||
num_categories = $('span.rubric-category').length
|
||||
num_categories = $('.rubric-category').length
|
||||
for i in [0..(num_categories-1)]
|
||||
score = $("input[name='score-selection-#{i}']:checked").val()
|
||||
if score == undefined
|
||||
|
||||
Reference in New Issue
Block a user