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
a1104ceb
Commit
a1104ceb
authored
Jan 06, 2015
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6464 from edx/alasdair/logistration-history-query-params-fix
Updated history.push to include any query params
parents
72bdd48f
1d928379
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lms/static/js/student_account/views/AccessView.js
+3
-2
No files found.
lms/static/js/student_account/views/AccessView.js
View file @
a1104ceb
...
...
@@ -172,7 +172,8 @@ var edx = edx || {};
toggleForm
:
function
(
e
)
{
var
type
=
$
(
e
.
currentTarget
).
data
(
'type'
),
$form
=
$
(
'#'
+
type
+
'-form'
),
$anchor
=
$
(
'#'
+
type
+
'-anchor'
);
$anchor
=
$
(
'#'
+
type
+
'-anchor'
),
queryParams
=
'?'
+
url
(
'?'
);
e
.
preventDefault
();
...
...
@@ -190,7 +191,7 @@ var edx = edx || {};
this
.
element
.
scrollTop
(
$anchor
);
// Update url without reloading page
History
.
pushState
(
null
,
document
.
title
,
'/account/'
+
type
+
'/'
);
History
.
pushState
(
null
,
document
.
title
,
'/account/'
+
type
+
queryParams
);
analytics
.
page
(
'login_and_registration'
,
type
);
},
...
...
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