From: Julian Knowles Date: Mon, 20 Jan 2014 10:21:26 +0000 (+0800) Subject: Roo/bootstrap/Img.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=bede398ea0658b913c1931e4ccf2a29e7d9720a2;p=roojs1 Roo/bootstrap/Img.js --- diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index 317ef266f7..ae1811f631 100644 --- 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; }