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
26fd9d23
Commit
26fd9d23
authored
Dec 16, 2014
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Segment events from courseware.
parent
2341bf1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
common/lib/xmodule/xmodule/js/src/capa/display.coffee
+0
-6
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
+0
-21
No files found.
common/lib/xmodule/xmodule/js/src/capa/display.coffee
View file @
26fd9d23
...
...
@@ -301,12 +301,6 @@ class @Problem
Logger
.
log
'problem_check'
,
@
answers
# Segment.io
analytics
.
track
"edx.bi.course.problem.checked"
,
category
:
"courseware"
problem_id
:
@
id
answers
:
@
answers
$
.
postWithPrefix
(
"
#{
@
url
}
/problem_check"
,
@
answers
,
(
response
)
=>
switch
response
.
success
when
'incorrect'
,
'correct'
...
...
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
View file @
26fd9d23
...
...
@@ -126,15 +126,6 @@ class @Sequence
if
(
1
<=
new_position
)
and
(
new_position
<=
@
num_contents
)
Logger
.
log
"seq_goto"
,
old
:
@
position
,
new
:
new_position
,
id
:
@
id
analytics
.
pageview
@
id
# navigation by clicking the tab directly
analytics
.
track
"edx.bi.course.sequential.direct.clicked"
,
category
:
"courseware"
sequence_id
:
@
id
current_sequential
:
@
position
target_sequential
:
new_position
# On Sequence change, destroy any existing polling thread
# for queued submissions, see ../capa/display.coffee
if
window
.
queuePollerID
...
...
@@ -165,18 +156,6 @@ class @Sequence
new
:
new_position
id
:
@
id
analytics
.
pageview
@
id
# navigation using the next or previous arrow button.
tracking_messages
=
seq_prev
:
"edx.bi.course.sequential.previous.clicked"
seq_next
:
"edx.bi.course.sequential.next.clicked"
analytics
.
track
tracking_messages
[
direction
],
category
:
"courseware"
sequence_id
:
@
id
current_sequential
:
@
position
target_sequential
:
new_position
# If the bottom nav is used, scroll to the top of the page on change.
if
$
(
event
.
target
).
closest
(
'nav[class="sequence-bottom"]'
).
length
>
0
$
.
scrollTo
0
,
150
...
...
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