projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba782d
)
Roo/bootstrap/Img.js
author
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:26:40 +0000
(13:26 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:26:40 +0000
(13:26 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
ae9df5e
..
f685651
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-77,12
+77,14
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
initEvents: function() {
- this.el.on('click', this.onClick, this);
-
+ if(!this.href){
+ this.el.on('click', this.onClick, this);
+ }
},
onClick : function(e)
{
+ Roo.log('img onclick');
this.fireEvent('click', this, e);
}