Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
2522a0f2
Commit
2522a0f2
authored
Mar 04, 2014
by
Stephen Sanchez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a few JS mismatches
parent
91fac771
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
apps/openassessment/xblock/static/js/src/oa_base.js
+3
-1
No files found.
apps/openassessment/xblock/static/js/src/oa_base.js
View file @
2522a0f2
...
@@ -162,6 +162,7 @@ OpenAssessment.BaseUI.prototype = {
...
@@ -162,6 +162,7 @@ OpenAssessment.BaseUI.prototype = {
this
.
server
.
submit
(
submission
).
done
(
this
.
server
.
submit
(
submission
).
done
(
// When we have successfully sent the submission, expand the next step
// When we have successfully sent the submission, expand the next step
function
(
studentId
,
attemptNum
)
{
function
(
studentId
,
attemptNum
)
{
ui
.
renderSubmissionStep
();
ui
.
renderPeerAssessmentStep
(
true
);
ui
.
renderPeerAssessmentStep
(
true
);
}
}
).
fail
(
function
(
errMsg
)
{
).
fail
(
function
(
errMsg
)
{
...
@@ -182,13 +183,14 @@ OpenAssessment.BaseUI.prototype = {
...
@@ -182,13 +183,14 @@ OpenAssessment.BaseUI.prototype = {
optionsSelected
[
sel
.
name
]
=
sel
.
value
;
optionsSelected
[
sel
.
name
]
=
sel
.
value
;
}
}
);
);
var
feedback
=
$
(
'#assessment__rubric__question--
004
__value'
,
this
.
element
).
val
();
var
feedback
=
$
(
'#assessment__rubric__question--
feedback
__value'
,
this
.
element
).
val
();
// Send the assessment to the server
// Send the assessment to the server
var
ui
=
this
;
var
ui
=
this
;
this
.
server
.
assess
(
submissionId
,
optionsSelected
,
feedback
).
done
(
this
.
server
.
assess
(
submissionId
,
optionsSelected
,
feedback
).
done
(
function
()
{
function
()
{
// When we have successfully sent the assessment, expand the next step
// When we have successfully sent the assessment, expand the next step
ui
.
renderPeerAssessmentStep
(
true
);
ui
.
renderSelfAssessmentStep
(
true
);
ui
.
renderSelfAssessmentStep
(
true
);
ui
.
renderGradeStep
(
true
);
ui
.
renderGradeStep
(
true
);
}
}
...
...
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