projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c8a21c
)
Roo/bootstrap/Img.js
author
Alan Knowles
<alan@roojs.com>
Fri, 1 Sep 2017 05:15:53 +0000
(13:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 1 Sep 2017 05:15:53 +0000
(13:15 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
d0723fa
..
f7536fa
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-168,7
+168,14
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
{
Roo.log('img onclick');
this.fireEvent('click', this, e);
+ },
+
+ setSrc : function(url)
+ {
+ this.el.dom.src = url;
}
+
+
});