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
ec02a4f3
Commit
ec02a4f3
authored
Jul 17, 2013
by
Brian Talbot
Committed by
Peter Fogg
Jul 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: changed the copy and prompt type for unit + outline deletions
parent
fb0fcc31
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
cms/static/coffee/src/views/unit.coffee
+4
-4
cms/static/js/base.js
+4
-4
No files found.
cms/static/coffee/src/views/unit.coffee
View file @
ec02a4f3
...
...
@@ -115,12 +115,12 @@ class CMS.Views.UnitEdit extends Backbone.View
@
model
.
save
()
deleteComponent
:
(
event
)
=>
msg
=
new
CMS
.
Views
.
Prompt
.
Confirmation
(
title
:
gettext
(
'
Are you sure you want to d
elete this component?'
),
message
:
gettext
(
'
This action
cannot be undone.'
),
msg
=
new
CMS
.
Views
.
Prompt
.
Warning
(
title
:
gettext
(
'
D
elete this component?'
),
message
:
gettext
(
'
Deleting this component is permanent and
cannot be undone.'
),
actions
:
primary
:
text
:
gettext
(
'
OK
'
),
text
:
gettext
(
'
Yes, delete this component
'
),
click
:
(
view
)
=>
view
.
hide
()
deleting
=
new
CMS
.
Views
.
Notification
.
Mini
...
...
cms/static/js/base.js
View file @
ec02a4f3
...
...
@@ -370,12 +370,12 @@ function deleteSection(e) {
}
function
_deleteItem
(
$el
,
type
)
{
var
confirm
=
new
CMS
.
Views
.
Prompt
.
Confirmation
({
title
:
gettext
(
'
Are you sure you wish to d
elete this '
+
type
+
'?'
),
message
:
gettext
(
'
It cannot be reversed!
'
),
var
confirm
=
new
CMS
.
Views
.
Prompt
.
Warning
({
title
:
gettext
(
'
D
elete this '
+
type
+
'?'
),
message
:
gettext
(
'
Deleting this '
+
type
+
' is permanent and cannot be undone.
'
),
actions
:
{
primary
:
{
text
:
gettext
(
'
OK'
),
text
:
gettext
(
'
Yes, delete this '
+
type
),
click
:
function
(
view
)
{
view
.
hide
();
...
...
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