Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
382d4d70
Commit
382d4d70
authored
Feb 13, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor parsing fix, remove b tag from selectors
parent
9e5eca14
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/xmodule/xmodule/combined_open_ended_rubric.py
+1
-1
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+2
-2
No files found.
common/lib/xmodule/xmodule/combined_open_ended_rubric.py
View file @
382d4d70
...
...
@@ -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'
])):
...
...
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
382d4d70
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment