Roo/Element.js
authorEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:28:19 +0000 (16:28 +0800)
committerEdward <edward@roojs.com>
Mon, 13 Jan 2014 08:28:19 +0000 (16:28 +0800)
Roo/Element.js

index 45dd900..4cdecf6 100644 (file)
@@ -686,6 +686,9 @@ if(opt.anim.isAnimated()){
             Roo.log(a[0]);
             if(a[0] == 'all'){
                 Roo.log(this)
+                if(!this.attr('style')){
+                    return r;
+                }
                 var s = this.attr('style').split(';');
                 Roo.log(s);
                 return r;