()
| 176 | } |
| 177 | |
| 178 | afterRender () { |
| 179 | if (me.isAnonymous()) { |
| 180 | if (document.location.hash === '#create-account') { |
| 181 | this.openModalView(new CreateAccountModal()) |
| 182 | } |
| 183 | if (document.location.hash === '#create-account-individual') { |
| 184 | this.openModalView(new CreateAccountModal({ startOnPath: 'individual' })) |
| 185 | } |
| 186 | if (document.location.hash === '#create-account-student') { |
| 187 | this.openModalView(new CreateAccountModal({ startOnPath: 'student' })) |
| 188 | } |
| 189 | if (document.location.hash === '#create-account-teacher') { |
| 190 | this.openModalView(new CreateAccountModal({ startOnPath: 'teacher' })) |
| 191 | } |
| 192 | } |
| 193 | return super.afterRender() |
| 194 | } |
| 195 | |
| 196 | afterInsert () { |
| 197 | super.afterInsert() |
nothing calls this directly
no test coverage detected