MCPcopy Index your code
hub / github.com/codecombat/codecombat / onSubmitJoinClassForm

Method onSubmitJoinClassForm

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

Source from the content-addressed store, hash-verified

612 }
613
614 onSubmitJoinClassForm (e) {
615 e.preventDefault()
616 const classCode = this.$('#class-code-input').val() || this.classCodeQueryVar
617 if (window.tracker != null) {
618 window.tracker.trackEvent('Students Join Class With Code', { category: 'Students', classCode })
619 }
620 return this.joinClass()
621 }
622
623 onClickJoinClassButton (e) {
624 const classCode = this.$('#class-code-input').val() || this.classCodeQueryVar

Callers

nothing calls this directly

Calls 2

joinClassMethod · 0.95
trackEventMethod · 0.45

Tested by

no test coverage detected