MCPcopy Create free account
hub / github.com/codecombat/codecombat / onClickViewLevels

Method onClickViewLevels

app/views/courses/CoursesView.js:749–757  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

747 }
748
749 onClickViewLevels (e) {
750 const courseID = $(e.target).data('course-id')
751 const courseInstanceID = $(e.target).data('courseinstance-id')
752 if (window.tracker != null) {
753 window.tracker.trackEvent('Students View Levels', { category: 'Students', courseID, courseInstanceID })
754 }
755 const levelsUrl = $(e.currentTarget).data('href')
756 return application.router.navigate(levelsUrl, { trigger: true })
757 }
758
759 onClickViewProjectGalleryLink (e) {
760 const courseID = $(e.target).data('course-id')

Callers

nothing calls this directly

Calls 3

dataMethod · 0.80
navigateMethod · 0.80
trackEventMethod · 0.45

Tested by

no test coverage detected