projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #6465 - drag drop for cards
[roojs1]
/
Roo
/
bootstrap
/
Img.js
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
98faf30
..
9e32c01
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-177,7
+177,13
@@
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {
setSrc : function(url)
{
this.src = url;
- this.el.dom.src = url;
+
+ if(this.src || (!this.xsUrl && !this.smUrl && !this.mdUrl && !this.lgUrl)){
+ this.el.dom.src = url;
+ return;
+ }
+
+ this.el.select('img', true).first().dom.src = url;
}