projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba6c8c
)
Roo/bootstrap/Img.js
author
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:10:15 +0000
(13:10 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:10:15 +0000
(13:10 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
c9da803
..
2087165
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-61,6
+61,15
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
}
return cfg;
+ },
+
+ initEvents: function() {
+ this.el.on('click', this.onClick, this);
+
+ },
+ onClick : function(e)
+ {
+ this.fireEvent('click', this, e);
}
});