X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fjssrc%2Fblerg%2FEmailForm.js;h=940b8e68dbb937843ff2620baf9c0ab4087aa0d6;hb=HEAD;hp=6e651fc281b2eee24f2167f22b8c1faeb7e4ed4b;hpb=21ea25fe5cfe8337ff9c3aa123f71e975c6c85d7;p=blerg.git diff --git a/www/jssrc/blerg/EmailForm.js b/www/jssrc/blerg/EmailForm.js index 6e651fc..940b8e6 100644 --- a/www/jssrc/blerg/EmailForm.js +++ b/www/jssrc/blerg/EmailForm.js @@ -1,5 +1,8 @@ enyo.kind({ name: 'blerg.EmailForm', + handlers: { + onLogin: "loginStatusChange" + }, components: [ {name: 'emailRegisterForm', components: [ {content: "Register an email address to get daily digest updates of your feed. We can also use this address to send you a password recovery link if you forget your password.", tag: 'p'}, @@ -91,5 +94,8 @@ enyo.kind({ }); req.go(); + }, + loginStatusChange: function(inSender, inEvent) { + this.fetchEmailStatus(); } });