projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0447174
)
Roo/bootstrap/Img.js
author
edward
<edward@roojs.com>
Wed, 13 Jan 2016 03:21:25 +0000
(11:21 +0800)
committer
edward
<edward@roojs.com>
Wed, 13 Jan 2016 03:21:25 +0000
(11:21 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
85069f5
..
e68f85e
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-54,10
+54,18
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
getAutoCreate : function()
{
- if(this.src){
- this.createSingleImg();
+ if(this.src
|| (!xsUrl && !smUrl && !mdUrl && !lgUrl)
){
+
return
this.createSingleImg();
}
+ var cfg = {
+ tag: 'div',
+ cls: 'roo-image-responsive-group',
+ cn: []
+ }
+
+
+
},
createSingleImg : function()