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
c2e5c607
Commit
c2e5c607
authored
Jun 13, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove correct/incorrect message, and auto-add in needed markdown for studio
parent
75cbc4db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee
+4
-0
lms/templates/combinedopenended/openended/open_ended.html
+0
-4
No files found.
common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee
View file @
c2e5c607
...
...
@@ -50,6 +50,10 @@ Write a persuasive essay to a newspaper reflecting your vies on censorship in li
mode
:
null
})
@
setCurrentEditor
(
@
markdown_editor
)
selection
=
@
markdown_editor
.
getSelection
()
#Auto-add in the needed template if it isn't already in there.
if
(
@
markdown_editor
.
getValue
()
==
""
)
@
markdown_editor
.
setValue
(
OpenEndedMarkdownEditingDescriptor
.
promptTemplate
+
"
\n
"
+
OpenEndedMarkdownEditingDescriptor
.
rubricTemplate
+
"
\n
"
+
OpenEndedMarkdownEditingDescriptor
.
tasksTemplate
)
# Add listeners for toolbar buttons (only present for markdown editor)
@
element
.
on
(
'click'
,
'.xml-tab'
,
@
onShowXMLButton
)
@
element
.
on
(
'click'
,
'.format-buttons a'
,
@
onToolbarButton
)
...
...
lms/templates/combinedopenended/openended/open_ended.html
View file @
c2e5c607
...
...
@@ -10,10 +10,6 @@
<div
class=
"grader-status"
>
% if state == 'initial':
<span
class=
"unanswered"
style=
"display:inline-block;"
id=
"status_${id}"
>
Unanswered
</span>
% elif state in ['done', 'post_assessment'] and correct == 'correct':
<span
class=
"correct"
id=
"status_${id}"
></span>
<p>
Correct
</p>
% elif state in ['done', 'post_assessment'] and correct == 'incorrect':
<span
class=
"incorrect"
id=
"status_${id}"
></span>
<p>
Incorrect.
</p>
% elif state == 'assessing':
<span
class=
"grading"
id=
"status_${id}"
>
Submitted for grading.
% if eta_message is not None:
...
...
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