<html>\r
<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
*/\r
hideOnClick : true,\r
\r
+ cls : 'x-color-menu',\r
+ \r
+ <div id="cfg-Ext.menu.ColorMenu-paletteId"></div>/** \r
+ * @cfg {String} paletteId\r
+ * An id to assign to the underlying color palette. Defaults to <tt>null</tt>.\r
+ */\r
+ paletteId : null,\r
+ \r
<div id="cfg-Ext.menu.ColorMenu-maxHeight"></div>/** \r
* @cfg {Number} maxHeight\r
* @hide \r
Ext.apply(this, {\r
plain: true,\r
showSeparator: false,\r
- items: this.palette = new Ext.ColorPalette(this.initialConfig)\r
+ items: this.palette = new Ext.ColorPalette(Ext.applyIf({\r
+ id: this.paletteId\r
+ }, this.initialConfig))\r
});\r
this.palette.purgeListeners();\r
Ext.menu.ColorMenu.superclass.initComponent.call(this);\r