projects
/
blerg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add auth counter to perl library
[blerg.git]
/
www
/
jssrc
/
blerg
/
Blerg.js
diff --git
a/www/jssrc/blerg/Blerg.js
b/www/jssrc/blerg/Blerg.js
index
827dc06
..
80037c4
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",
@@
-11,7
+14,7
@@
enyo.kind({
onPostVisibility: "postVisibilityUpdate",
onReload: "sendReload",
onShowChangePassword: "showChangePassword",
onPostVisibility: "postVisibilityUpdate",
onReload: "sendReload",
onShowChangePassword: "showChangePassword",
- on
ClearFeedStatus: "clearFeedStatus
"
+ on
AuthFailure: "authFailure
"
},
components: [
{classes: "blerg-header", components: [
},
components: [
{classes: "blerg-header", components: [
@@
-98,7
+101,7
@@
enyo.kind({
showChangePassword: function() {
this.$.passwdDialog.show();
},
showChangePassword: function() {
this.$.passwdDialog.show();
},
-
clearFeedStatus: function(
) {
- this.
$.controls.waterfall('onClearFeedStatus'
);
+
authFailure: function(inSender, inEvent
) {
+ this.
logout(
);
}
});
}
});