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
c0bd7db2
Commit
c0bd7db2
authored
Aug 06, 2013
by
David Baumgold
Committed by
Feanil Patel
Aug 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused JS functions
parent
d2c4ac25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
cms/static/js/base.js
+0
-17
No files found.
cms/static/js/base.js
View file @
c0bd7db2
...
...
@@ -259,23 +259,6 @@ function pad2(number) {
return
(
number
<
10
?
'0'
:
''
)
+
number
;
}
function
getEdxTimeFromDateTimeVals
(
date_val
,
time_val
)
{
if
(
date_val
!=
''
)
{
if
(
time_val
==
''
)
time_val
=
'00:00'
;
return
new
Date
(
date_val
+
" "
+
time_val
+
"Z"
);
}
else
return
null
;
}
function
getEdxTimeFromDateTimeInputs
(
date_id
,
time_id
)
{
var
input_date
=
$
(
'#'
+
date_id
).
val
();
var
input_time
=
$
(
'#'
+
time_id
).
val
();
return
getEdxTimeFromDateTimeVals
(
input_date
,
input_time
);
}
function
autosaveInput
(
e
)
{
var
self
=
this
;
if
(
this
.
saveTimer
)
{
...
...
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