From bede398ea0658b913c1931e4ccf2a29e7d9720a2 Mon Sep 17 00:00:00 2001 From: Julian Knowles Date: Mon, 20 Jan 2014 18:21:26 +0800 Subject: [PATCH] Roo/bootstrap/Img.js --- Roo/bootstrap/Img.js | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.2