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

Method initClass

app/views/teachers/EditStudentModal.js:22–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20module.exports = (EditStudentModal = (function () {
21 EditStudentModal = class EditStudentModal extends ModalView {
22 static initClass () {
23 this.prototype.id = 'edit-student-modal'
24 this.prototype.template = template
25
26 this.prototype.events = {
27 'click .send-recovery-email-btn:not(.disabled)': 'onClickSendRecoveryEmail',
28 'click .change-password-btn:not(.disabled)': 'onClickChangePassword',
29 'click .revoke-student-btn': 'onClickRevokeStudentButton',
30 'click .enroll-student-btn:not(.disabled)': 'onClickEnrollStudentButton',
31 'input .new-password-input': 'onChangeNewPasswordInput'
32 }
33 }
34
35 constructor ({ user, classroom, students }) {
36 super(...arguments)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected