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
764c20eb
Commit
764c20eb
authored
12 years ago
by
Bridger Maxwell
Browse files
Options
Downloads
Patches
Plain Diff
Fixed enrollment issue where submission form was automatically sent when it opened on about page.
parent
f337baed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/templates/portal/course_about.html
+2
-2
2 additions, 2 deletions
lms/templates/portal/course_about.html
with
2 additions
and
2 deletions
lms/templates/portal/course_about.html
+
2
−
2
View file @
764c20eb
...
...
@@ -22,7 +22,7 @@
%if registered:
<span
class=
"register disabled"
>
You are registered for this course (${course.number}).
</span>
%else:
<a
href=
"#"
class=
"register"
>
Register for ${course.number}
</a>
<a
href=
"#"
class=
"register
submit_registration
"
>
Register for ${course.number}
</a>
%endif
%else:
<a
href=
"#signup-modal"
class=
"register"
rel=
"leanModal"
data-notice=
"You must Sign Up in order to register"
>
Register for ${course.number}
</a>
...
...
@@ -117,7 +117,7 @@
</div>
<script
type=
"text/javascript"
>
(
function
()
{
$
(
"
.
register
"
).
click
(
function
()
{
$
(
"
.
submit_registration
"
).
click
(
function
()
{
$
(
"
#enroll_form
"
).
submit
();
});
...
...
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