From c515cca0983da8d60b5264516c0fa3914f4c4fca Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 13 Jan 2014 16:33:01 +0800 Subject: [PATCH] Roo/Element.js --- Roo/Element.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Roo/Element.js b/Roo/Element.js index 82106116c1..5418e91113 100644 --- a/Roo/Element.js +++ b/Roo/Element.js @@ -675,22 +675,10 @@ if(opt.anim.isAnimated()){ * @param {String} style1 A style name * @param {String} style2 A style name * @param {String} etc. - * @param {String} all If param get all of the styles.. * @return {Object} The style object */ getStyles : function(){ var a = arguments, len = a.length, r = {}; - if(a[0] == 'all'){// for Ticket #2048 get all the styles - if(!this.attr('style')){ - return r; - } - var s = this.attr('style').split(';'); - Roo.each(s, function(v){ - var style = v.split(':'); - r[style[0]] = style[1]; - }); - return r; - } for(var i = 0; i < len; i++){ r[a[i]] = this.getStyle(a[i]); } -- 2.39.2