Update webapp for /status changes
[blerg.git] / www / jssrc / blerg / Blerg.js
index 827dc06..361b0c9 100644 (file)
@@ -1,3 +1,6 @@
+// Listen for onsubmit events
+enyo.dispatcher.listen(document, "submit");
+
 enyo.kind({
     name: "blerg.Blerg",
     kind: "Control",
@@ -10,8 +13,7 @@ enyo.kind({
         onSetTitle: "setTitle",
         onPostVisibility: "postVisibilityUpdate",
         onReload: "sendReload",
-        onShowChangePassword: "showChangePassword",
-        onClearFeedStatus: "clearFeedStatus"
+        onShowChangePassword: "showChangePassword"
     },
     components: [
         {classes: "blerg-header", components: [
@@ -97,8 +99,5 @@ enyo.kind({
     },
     showChangePassword: function() {
         this.$.passwdDialog.show();
-    },
-    clearFeedStatus: function() {
-        this.$.controls.waterfall('onClearFeedStatus');
     }
 });