Add password change functionality
[blerg.git] / www / jssrc / blerg / Blerg.js
index 22bfddb..9285d2b 100644 (file)
@@ -9,7 +9,8 @@ enyo.kind({
         onTryLogout: "tryLogout",
         onSetTitle: "setTitle",
         onPostVisibility: "postVisibilityUpdate",
-        onReload: "sendReload"
+        onReload: "sendReload",
+        onShowChangePassword: "showChangePassword",
     },
     components: [
         {classes: "blerg-header", components: [
@@ -92,5 +93,8 @@ enyo.kind({
     },
     sendReload: function() {
         this.$.main.waterfall('onReload');
+    },
+    showChangePassword: function() {
+        this.$.passwdDialog.show();
     }
 });