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
55d41bdc
Commit
55d41bdc
authored
Aug 02, 2017
by
Alex Dusenbery
Committed by
Alex Dusenbery
Aug 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EDUCATOR-1072 | Don't validate certificate_available_date field just yet.
parent
1b5181a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
cms/static/js/models/settings/course_details.js
+0
-8
No files found.
cms/static/js/models/settings/course_details.js
View file @
55d41bdc
...
...
@@ -52,14 +52,6 @@ define(['backbone', 'underscore', 'gettext', 'js/models/validation_helpers', 'js
if
(
newattrs
.
start_date
&&
newattrs
.
enrollment_start
&&
newattrs
.
start_date
<
newattrs
.
enrollment_start
)
{
errors
.
enrollment_start
=
gettext
(
'The course start date must be later than the enrollment start date.'
);
}
if
(
newattrs
.
start_date
&&
newattrs
.
certificate_available_date
&&
newattrs
.
start_date
>
newattrs
.
certificate_available_date
)
{
errors
.
enrollment_start
=
gettext
(
'The certificate available date must be later than the enrollment start date.'
);
}
if
(
newattrs
.
enrollment_start
&&
newattrs
.
enrollment_end
&&
newattrs
.
enrollment_start
>=
newattrs
.
enrollment_end
)
{
errors
.
enrollment_end
=
gettext
(
'The enrollment start date cannot be after the enrollment end date.'
);
}
...
...
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