projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Img.js
[roojs1]
/
Roo
/
bootstrap
/
Img.js
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
435d4c2
..
85069f5
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-54,6
+54,14
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
getAutoCreate : function()
{
+ if(this.src){
+ this.createSingleImg();
+ }
+
+ },
+
+ createSingleImg : function()
+ {
var cfg = {
tag: 'img',
cls: (this.imgResponsive) ? 'img-responsive' : '',
@@
-87,7
+95,6
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
}
-
return (this.href) ? a : cfg;
},