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:
divyanshu013 2015-02-23 01:34:33 +05:30
parent dc953431ec
commit 5ad23fc354

View file

@ -255,7 +255,14 @@ 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'
@levels: {}