X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6a7e4474cba9d8be4b2ec445e10f1691f7277c50:/src/widgets/layout/MenuLayout.js diff --git a/src/widgets/layout/MenuLayout.js b/src/widgets/layout/MenuLayout.js index d99abb0f..a7fd4d63 100644 --- a/src/widgets/layout/MenuLayout.js +++ b/src/widgets/layout/MenuLayout.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 Ext JS, LLC + * Ext JS Library 3.2.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -12,6 +12,8 @@ Ext.layout.MenuLayout = Ext.extend(Ext.layout.ContainerLayout, { monitorResize : true, + type: 'menu', + setContainer : function(ct){ this.monitorResize = !ct.floating; // This event is only fired by the menu in IE, used so we don't couple @@ -94,4 +96,4 @@ } } }); -Ext.Container.LAYOUTS['menu'] = Ext.layout.MenuLayout; \ No newline at end of file +Ext.Container.LAYOUTS['menu'] = Ext.layout.MenuLayout;