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
2cdfed9e
Commit
2cdfed9e
authored
Feb 08, 2013
by
Don Mitchell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1472 from MITx/feature/christina/misc2
A couple minor bug fixes.
parents
0d0049ec
98026e43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cms/templates/settings.html
+1
-1
common/lib/xmodule/xmodule/js/src/html/edit.coffee
+2
-1
No files found.
cms/templates/settings.html
View file @
2cdfed9e
...
...
@@ -206,7 +206,7 @@ from contentstore import utils
<section
class=
"setting-details-marketing"
>
<header>
<h3>
Introducing Your Course
</h3>
<span
class=
"detail"
>
Information for p
er
spective students
</span>
<span
class=
"detail"
>
Information for p
ro
spective students
</span>
</header>
<div
class=
"row row-col2"
>
...
...
common/lib/xmodule/xmodule/js/src/html/edit.coffee
View file @
2cdfed9e
...
...
@@ -107,12 +107,13 @@ class @HTMLEditingDescriptor
# In order for isDirty() to return true ONLY if edits have been made after setting the text,
# both the startContent must be sync'ed up and the dirty flag set to false.
visualEditor
.
startContent
=
visualEditor
.
getContent
({
format
:
"raw"
,
no_events
:
1
});
visualEditor
.
isNotDirty
=
true
@
focusVisualEditor
(
visualEditor
)
@
showingVisualEditor
=
true
focusVisualEditor
:
(
visualEditor
)
=>
visualEditor
.
focus
()
# Need to mark editor as not dirty both when it is initially created and when we switch back to it.
visualEditor
.
isNotDirty
=
true
if
not
@
$mceToolbar
?
@
$mceToolbar
=
$
(
@
element
).
find
(
'table.mceToolbar'
)
...
...
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