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
dee62195
Commit
dee62195
authored
Oct 24, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brought delete button back to drafts; save on delete component
parent
ef5ce4e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
cms/static/coffee/src/views/unit.coffee
+3
-2
cms/static/sass/_unit.scss
+4
-0
No files found.
cms/static/coffee/src/views/unit.coffee
View file @
dee62195
...
...
@@ -236,4 +236,5 @@ class CMS.Views.UnitEdit.SaveDraftButton extends Backbone.View
@
$el
.
addClass
(
'disabled'
)
enable
:
=>
@
$el
.
removeClass
(
'disabled'
)
\ No newline at end of file
@
$el
.
removeClass
(
'disabled'
)
@
model
.
save
()
\ No newline at end of file
cms/static/sass/_unit.scss
View file @
dee62195
...
...
@@ -326,6 +326,10 @@
display
:
none
;
}
#delete-draft
{
display
:
inline-block
;
}
.save-button
,
.preview-button
,
.publish-button
,
...
...
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