From: Julian Knowles Date: Mon, 20 Jan 2014 10:25:04 +0000 (+0800) Subject: Roo/bootstrap/Img.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=9a921e9420a994903f67598f25596f30ec4d69c2;p=roojs1 Roo/bootstrap/Img.js --- diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index 02fe551cfd..565152bcb9 100644 --- a/Roo/bootstrap/Img.js +++ b/Roo/bootstrap/Img.js @@ -44,6 +44,10 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, { cfg.src = this.src || cfg.src; + if (['rounded','circle','thumbnail'].indexOf(this.border)) { + cfg.cls += ' img-' + this.border; + } + return cfg; }