projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e7b1e
)
Roo/bootstrap/Img.js
author
Julian Knowles
<julian@roojs.com>
Mon, 20 Jan 2014 10:21:26 +0000
(18:21 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 20 Jan 2014 10:21:26 +0000
(18:21 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
317ef26
..
ae1811f
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-28,6
+28,7
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
imgResponsive: true,
border: '',
+ src: '',
autoCreate : {
cls: 'img-responsive',
@@
-40,6
+41,8
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
cfg.html = this.html || cfg.html;
+ cfg.src=this.src||cfg.src;
+
return cfg;
}