projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbf5ba
)
Roo/bootstrap/Img.js
author
Julian Knowles
<julian@roojs.com>
Mon, 20 Jan 2014 10:25:04 +0000
(18:25 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 20 Jan 2014 10:25:04 +0000
(18:25 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
02fe551
..
565152b
100644
(file)
--- 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;
}