projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix unclosed header in changelog
[blerg.git]
/
www
/
jssrc
/
blerg
/
Blerg.js
diff --git
a/www/jssrc/blerg/Blerg.js
b/www/jssrc/blerg/Blerg.js
index
22bfddb
..
352962d
100644
(file)
--- a/
www/jssrc/blerg/Blerg.js
+++ b/
www/jssrc/blerg/Blerg.js
@@
-1,3
+1,6
@@
+// Listen for onsubmit events
+enyo.dispatcher.listen(document, "submit");
+
enyo.kind({
name: "blerg.Blerg",
kind: "Control",
enyo.kind({
name: "blerg.Blerg",
kind: "Control",
@@
-9,7
+12,9
@@
enyo.kind({
onTryLogout: "tryLogout",
onSetTitle: "setTitle",
onPostVisibility: "postVisibilityUpdate",
onTryLogout: "tryLogout",
onSetTitle: "setTitle",
onPostVisibility: "postVisibilityUpdate",
- onReload: "sendReload"
+ onReload: "sendReload",
+ onShowChangePassword: "showChangePassword",
+ onClearFeedStatus: "clearFeedStatus"
},
components: [
{classes: "blerg-header", components: [
},
components: [
{classes: "blerg-header", components: [
@@
-92,5
+97,11
@@
enyo.kind({
},
sendReload: function() {
this.$.main.waterfall('onReload');
},
sendReload: function() {
this.$.main.waterfall('onReload');
+ },
+ showChangePassword: function() {
+ this.$.passwdDialog.show();
+ },
+ clearFeedStatus: function() {
+ this.$.controls.waterfall('onClearFeedStatus');
}
});
}
});