Roo/Element.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:21 +0000 (17:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 26 Jul 2010 09:57:21 +0000 (17:57 +0800)
Roo/Element.js

index 2160869..2383150 100644 (file)
@@ -746,6 +746,9 @@ if(opt.anim.isAnimated()){
         setStyle : function(prop, value){
             if(typeof prop == "string"){
                 var camel;
+                if(prop == 'float'){ // not sure why this is not here..
+                    prop = "cssFloat";
+                }
                 if(!(camel = propCache[prop])){
                     camel = propCache[prop] = prop.replace(camelRe, camelFn);
                 }