Remove /unsubscribe from htaccess config
[blerg.git] / www / jssrc / blerg / EmailForm.js
index 6e651fc..940b8e6 100644 (file)
@@ -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();
     }
 });