mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fix for Campaign editor login not working for #2082
Overiding the login and signup listener clicks in CampaignEditorView so that the child can call them.
This commit is contained in:
parent
dc953431ec
commit
5ad23fc354
1 changed files with 7 additions and 0 deletions
|
@ -255,6 +255,13 @@ module.exports = class CampaignEditorView extends RootView
|
|||
if achievement.hasLocalChanges()
|
||||
@toSave.add achievement
|
||||
|
||||
onClickLoginButton: ->
|
||||
# Do Nothing
|
||||
# This is a override method to RootView, so that only CampaignView is listenting to login button click
|
||||
|
||||
onClickSignupButton: ->
|
||||
# Do Nothing
|
||||
# This is a override method to RootView, so that only CampaignView is listenting to signup button click
|
||||
|
||||
class LevelsNode extends TreemaObjectNode
|
||||
valueClass: 'treema-levels'
|
||||
|
|
Loading…
Reference in a new issue