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

Method onClickRequestQuote

app/views/HomeCNView.js:103–113  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

101 }
102
103 onClickRequestQuote (e) {
104 this.playSound('menu-button-click')
105 e.preventDefault()
106 e.stopImmediatePropagation()
107 this.homePageEvent($(e.target).data('event-action'))
108 if (me.isTeacher()) {
109 return application.router.navigate('/teachers/update-account', { trigger: true })
110 } else {
111 return application.router.navigate('/contact-cn', { trigger: true })
112 }
113 }
114
115 onClickSetupClass (e) {
116 this.homePageEvent($(e.target).data('event-action'))

Callers

nothing calls this directly

Calls 4

homePageEventMethod · 0.95
dataMethod · 0.80
isTeacherMethod · 0.80
navigateMethod · 0.80

Tested by

no test coverage detected