X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..refs/tags/3.1.0:/docs/source/ColorMenu.html diff --git a/docs/source/ColorMenu.html b/docs/source/ColorMenu.html index c15b62d5..8830d643 100644 --- a/docs/source/ColorMenu.html +++ b/docs/source/ColorMenu.html @@ -1,5 +1,6 @@ + The source code @@ -45,6 +46,14 @@ */ hideOnClick : true, + cls : 'x-color-menu', + +
/** + * @cfg {String} paletteId + * An id to assign to the underlying color palette. Defaults to null. + */ + paletteId : null, +
/** * @cfg {Number} maxHeight * @hide @@ -74,7 +83,9 @@ Ext.apply(this, { plain: true, showSeparator: false, - items: this.palette = new Ext.ColorPalette(this.initialConfig) + items: this.palette = new Ext.ColorPalette(Ext.applyIf({ + id: this.paletteId + }, this.initialConfig)) }); this.palette.purgeListeners(); Ext.menu.ColorMenu.superclass.initComponent.call(this);