X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;ds=sidebyside;f=www%2Fjssrc%2Fblerg%2FBlerg.js;h=827dc06e1e8fbc97786db73d2417c8f6f34511b4;hb=5d46d9b7976137e83b948a62026aa2994a6ec6b1;hp=6eac0d89b61b63a63d6953a4b842067bfd05a9e9;hpb=4377f9e224f34c05e7a5de04f390bb2a0cabf6eb;p=blerg.git diff --git a/www/jssrc/blerg/Blerg.js b/www/jssrc/blerg/Blerg.js index 6eac0d8..827dc06 100644 --- a/www/jssrc/blerg/Blerg.js +++ b/www/jssrc/blerg/Blerg.js @@ -9,13 +9,15 @@ enyo.kind({ onTryLogout: "tryLogout", onSetTitle: "setTitle", onPostVisibility: "postVisibilityUpdate", - onReload: "sendReload" + onReload: "sendReload", + onShowChangePassword: "showChangePassword", + onClearFeedStatus: "clearFeedStatus" }, components: [ {classes: "blerg-header", components: [ {name: "title", kind: "blerg.Title"}, {name: "controls", kind: "blerg.Controls"}, - {style: "clear: both"}, + {style: "clear: both;"}, {name: "post", kind: "blerg.Post", showing: false}, {name: "help", kind: "blerg.Help"} ]}, @@ -92,5 +94,11 @@ enyo.kind({ }, sendReload: function() { this.$.main.waterfall('onReload'); + }, + showChangePassword: function() { + this.$.passwdDialog.show(); + }, + clearFeedStatus: function() { + this.$.controls.waterfall('onClearFeedStatus'); } });