From: edward Date: Wed, 13 Jan 2016 03:21:25 +0000 (+0800) Subject: Roo/bootstrap/Img.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=c23119083b9a52ac99cc06cd11af29d03f8b9595;p=roojs1 Roo/bootstrap/Img.js --- diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index 85069f5efd..e68f85ec9e 100644 --- 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()