X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/core/core/Element.js diff --git a/src/core/core/Element.js b/src/core/core/Element.js index 86cf6bd7..50b17f1d 100644 --- a/src/core/core/Element.js +++ b/src/core/core/Element.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.1.0 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ @@ -824,7 +824,7 @@ El.get = function(el){ }; El.addToCache = function(el, id){ - id = id || el.id; + id = id || el.id; EC[id] = { el: el, data: {}, @@ -978,9 +978,4 @@ if(Ext.isIE || Ext.isGecko){ noBoxAdjust['button'] = 1; } - -Ext.EventManager.on(window, 'unload', function(){ - delete EC; - delete El._flyweights; -}); })();