+// Listen for onsubmit events
+enyo.dispatcher.listen(document, "submit");
+
enyo.kind({
name: "blerg.Blerg",
kind: "Control",
onTryLogout: "tryLogout",
onSetTitle: "setTitle",
onPostVisibility: "postVisibilityUpdate",
- onReload: "sendReload"
+ onReload: "sendReload",
+ onShowChangePassword: "showChangePassword",
+ onClearFeedStatus: "clearFeedStatus"
},
components: [
{classes: "blerg-header", components: [
},
sendReload: function() {
this.$.main.waterfall('onReload');
+ },
+ showChangePassword: function() {
+ this.$.passwdDialog.show();
+ },
+ clearFeedStatus: function() {
+ this.$.controls.waterfall('onClearFeedStatus');
}
});