mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Autofill class code from URL in signup modal
This commit is contained in:
parent
8e6293824b
commit
35d0352a92
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ module.exports = class CoursesView extends RootView
|
|||
application.tracker?.trackEvent 'Started Student Login', category: 'Courses'
|
||||
|
||||
openSignUpModal: ->
|
||||
modal = new CreateAccountModal()
|
||||
modal = new CreateAccountModal({ initialValues: { classCode: utils.getQueryVariable('_cc', "") } })
|
||||
@openModalView(modal)
|
||||
application.tracker?.trackEvent 'Started Student Signup', category: 'Courses'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue