Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
55d41bdc
Commit
55d41bdc
authored
7 years ago
by
Alex Dusenbery
Committed by
Alex Dusenbery
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
EDUCATOR-1072 | Don't validate certificate_available_date field just yet.
parent
1b5181a6
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/static/js/models/settings/course_details.js
+0
-8
0 additions, 8 deletions
cms/static/js/models/settings/course_details.js
with
0 additions
and
8 deletions
cms/static/js/models/settings/course_details.js
+
0
−
8
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.
'
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment