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
abfb33c3
Commit
abfb33c3
authored
Sep 27, 2013
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1158 from edx/giulio/small-oe-fixes
An assortment of small OE changes, both for ICE and standard
parents
eebc524c
d75cdda0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+1
-1
common/lib/xmodule/xmodule/js/src/peergrading/track_changes.coffee
+2
-1
lms/static/sass/course/_staff_grading.scss
+1
-1
lms/templates/peer_grading/peer_grading_problem.html
+3
-2
No files found.
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
abfb33c3
...
@@ -353,7 +353,7 @@ class @CombinedOpenEnded
...
@@ -353,7 +353,7 @@ class @CombinedOpenEnded
@
save_button
.
attr
(
"disabled"
,
true
)
@
save_button
.
attr
(
"disabled"
,
true
)
$
.
postWithPrefix
"
#{
@
ajax_url
}
/store_answer"
,
data
,
(
response
)
=>
$
.
postWithPrefix
"
#{
@
ajax_url
}
/store_answer"
,
data
,
(
response
)
=>
if
response
.
success
if
response
.
success
@
gentle_alert
(
"Answer saved."
)
@
gentle_alert
(
"Answer saved
, but not yet submitted
."
)
else
else
@
errors_area
.
html
(
response
.
error
)
@
errors_area
.
html
(
response
.
error
)
@
save_button
.
attr
(
"disabled"
,
false
)
@
save_button
.
attr
(
"disabled"
,
false
)
...
...
common/lib/xmodule/xmodule/js/src/peergrading/track_changes.coffee
View file @
abfb33c3
...
@@ -56,7 +56,7 @@ class @TrackChanges
...
@@ -56,7 +56,7 @@ class @TrackChanges
key
=
parseInt
(
@
attr
(
'data-cid'
))
key
=
parseInt
(
@
attr
(
'data-cid'
))
if
key
>
keyOfLatestChange
if
key
>
keyOfLatestChange
keyOfLatestChange
=
key
keyOfLatestChange
=
key
ICE
tracker
.
rejectChange
(
'[data-cid="'
+
keyOfLatestChange
+
'"]'
)
@
tracker
.
rejectChange
(
'[data-cid="'
+
keyOfLatestChange
+
'"]'
)
stop_tracking_on_submit
:
()
=>
stop_tracking_on_submit
:
()
=>
@
tracker
.
stopTracking
()
@
tracker
.
stopTracking
()
\ No newline at end of file
lms/static/sass/course/_staff_grading.scss
View file @
abfb33c3
...
@@ -18,7 +18,7 @@ div.peer-grading{
...
@@ -18,7 +18,7 @@ div.peer-grading{
overflow
:
auto
;
overflow
:
auto
;
}
}
div
.feedback-area.track-changes
,
p
.legend
{
div
.feedback-area.track-changes
,
p
.
ice-
legend
{
.ice-controls
{
.ice-controls
{
float
:
right
;
float
:
right
;
}
}
...
...
lms/templates/peer_grading/peer_grading_problem.html
View file @
abfb33c3
...
@@ -55,8 +55,8 @@
...
@@ -55,8 +55,8 @@
<span
class=
"del"
>
${_("This is a deletion.")}
</span>
<span
class=
"del"
>
${_("This is a deletion.")}
</span>
<span
class=
"ins"
>
${_("[This is a comment.]")}
</span>
<span
class=
"ins"
>
${_("[This is a comment.]")}
</span>
<span
class=
"ice-controls"
>
<span
class=
"ice-controls"
>
<a
href=
"#"
class=
"undo-change"
><i
class=
"icon-undo"
></i>
Undo Change
</a>
<a
href=
"#"
class=
"reset-changes"
><i
class=
"icon-refresh"
></i>
Reset Changes
</a>
<a
href=
"#"
class=
"reset-changes"
><i
class=
"icon-refresh"
></i>
Reset Changes
</a>
<a
href=
"#"
class=
"undo-change"
><i
class=
"icon-undo"
></i>
Undo Change
</a>
</span>
</span>
</p>
</p>
<div
name=
"feedback"
class=
"feedback-area track-changes"
contenteditable=
"true"
></div>
<div
name=
"feedback"
class=
"feedback-area track-changes"
contenteditable=
"true"
></div>
...
@@ -65,8 +65,9 @@
...
@@ -65,8 +65,9 @@
<textarea
name=
"feedback"
placeholder=
"Feedback for student"
class=
"feedback-area"
cols=
"70"
></textarea>
<textarea
name=
"feedback"
placeholder=
"Feedback for student"
class=
"feedback-area"
cols=
"70"
></textarea>
% endif
% endif
<div
class=
"flag-student-container"
>
<div
class=
"flag-student-container"
>
<br
/>
<input
type=
"checkbox"
class=
"flag-checkbox"
value=
"student_is_flagged"
>
<input
type=
"checkbox"
class=
"flag-checkbox"
value=
"student_is_flagged"
>
${_("This submission has explicit, offensive, or (I suspect) plagiarized content
:
")}
${_("This submission has explicit, offensive, or (I suspect) plagiarized content
.
")}
</div>
</div>
</div>
</div>
<hr
/>
<hr
/>
...
...
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