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
b6a58085
Commit
b6a58085
authored
Aug 15, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show submit button correctly for self assessment
parent
35a540a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+9
-2
No files found.
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
b6a58085
...
@@ -274,8 +274,6 @@ class @CombinedOpenEnded
...
@@ -274,8 +274,6 @@ class @CombinedOpenEnded
@
reset_button
.
show
()
@
reset_button
.
show
()
@
gentle_alert
"You may reset and answer this question again."
@
gentle_alert
"You may reset and answer this question again."
else
else
@
gentle_alert
"You have answered this question."
else
@
submit_button
.
show
()
@
submit_button
.
show
()
@
answer_area
.
attr
(
"disabled"
,
false
)
@
answer_area
.
attr
(
"disabled"
,
false
)
@
$
(
@
oe_alert_sel
).
animate
(
opacity
:
0
,
700
)
@
$
(
@
oe_alert_sel
).
animate
(
opacity
:
0
,
700
)
...
@@ -362,6 +360,8 @@ class @CombinedOpenEnded
...
@@ -362,6 +360,8 @@ class @CombinedOpenEnded
@
queueing
()
@
queueing
()
@
grader_status
=
@
$
(
@
grader_status_sel
)
@
grader_status
=
@
$
(
@
grader_status_sel
)
@
grader_status
.
html
(
"<span class='grading'>Your response has been submitted. Please check back later for your grade.</span> "
)
@
grader_status
.
html
(
"<span class='grading'>Your response has been submitted. Please check back later for your grade.</span> "
)
else
if
@
child_type
==
"selfassessment"
@
setup_score_selection
()
else
if
@
child_state
==
'post_assessment'
else
if
@
child_state
==
'post_assessment'
if
@
child_type
==
"openended"
if
@
child_type
==
"openended"
@
skip_button
.
show
()
@
skip_button
.
show
()
...
@@ -691,3 +691,10 @@ class @CombinedOpenEnded
...
@@ -691,3 +691,10 @@ class @CombinedOpenEnded
info_rubric_elements
=
@
$
(
@
info_rubric_elements_sel
)
info_rubric_elements
=
@
$
(
@
info_rubric_elements_sel
)
info_rubric_elements
.
slideToggle
()
info_rubric_elements
.
slideToggle
()
return
false
return
false
setup_score_selection
:
()
=>
@
$
(
"input[class='score-selection']"
).
change
@
graded_callback
graded_callback
:
()
=>
if
@
rub
.
check_complete
()
@
submit_button
.
show
()
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