+// Listen for onsubmit events
+enyo.dispatcher.listen(document, "submit");
+
enyo.kind({
name: "blerg.Blerg",
kind: "Control",
onPostVisibility: "postVisibilityUpdate",
onReload: "sendReload",
onShowChangePassword: "showChangePassword",
+ onAuthFailure: "authFailure"
},
components: [
{classes: "blerg-header", components: [
},
showChangePassword: function() {
this.$.passwdDialog.show();
+ },
+ authFailure: function(inSender, inEvent) {
+ this.logout();
}
});