Clear feed status when reading feed
[blerg.git] / www / jssrc / blerg / Blerg.js
index 22bfddb..827dc06 100644 (file)
@@ -9,7 +9,9 @@ enyo.kind({
         onTryLogout: "tryLogout",
         onSetTitle: "setTitle",
         onPostVisibility: "postVisibilityUpdate",
-        onReload: "sendReload"
+        onReload: "sendReload",
+        onShowChangePassword: "showChangePassword",
+        onClearFeedStatus: "clearFeedStatus"
     },
     components: [
         {classes: "blerg-header", components: [
@@ -92,5 +94,11 @@ enyo.kind({
     },
     sendReload: function() {
         this.$.main.waterfall('onReload');
+    },
+    showChangePassword: function() {
+        this.$.passwdDialog.show();
+    },
+    clearFeedStatus: function() {
+        this.$.controls.waterfall('onClearFeedStatus');
     }
 });