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
485d07a7
Commit
485d07a7
authored
May 02, 2013
by
Steve Strassmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabbing
parent
7c972ebf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
cms/static/js/base.js
+9
-9
No files found.
cms/static/js/base.js
View file @
485d07a7
...
...
@@ -843,19 +843,19 @@ function saveSetSectionScheduleDate(e) {
dataType
:
"json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
({
'id'
:
id
,
'metadata'
:
{
'start'
:
start
}})
}).
success
(
function
()
{
}).
success
(
function
()
{
var
$thisSection
=
$
(
'.courseware-section[data-id="'
+
id
+
'"]'
);
var
format
=
gettext
(
'<strong>Will Release:</strong> %(date)s at %(time)s UTC'
);
var
willReleaseAt
=
interpolate
(
format
,
{
'date'
:
input_date
,
var
willReleaseAt
=
interpolate
(
format
,
{
'date'
:
input_date
,
'time'
:
input_time
},
true
);
true
);
$thisSection
.
find
(
'.section-published-date'
).
html
(
'<span class="published-status">'
+
willReleaseAt
+
'</span>'
+
'<a href="#" class="edit-button" '
+
'" data-date="'
+
input_date
+
'" data-time="'
+
input_time
+
'" data-id="'
+
id
+
'">'
+
'<span class="published-status">'
+
willReleaseAt
+
'</span>'
+
'<a href="#" class="edit-button" '
+
'" data-date="'
+
input_date
+
'" data-time="'
+
input_time
+
'" data-id="'
+
id
+
'">'
+
gettext
(
'Edit'
)
+
'</a>'
);
$thisSection
.
find
(
'.section-published-date'
).
animate
({
'background-color'
:
'rgb(182,37,104)'
...
...
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