From 57e14320a31243485acd580de04dcf4cec173538 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 12 Jan 2021 16:36:45 +0300 Subject: [PATCH] Fix color button --- apps/common/main/lib/component/ColorButton.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/common/main/lib/component/ColorButton.js b/apps/common/main/lib/component/ColorButton.js index 0772ea36a..039eea3e0 100644 --- a/apps/common/main/lib/component/ColorButton.js +++ b/apps/common/main/lib/component/ColorButton.js @@ -41,9 +41,19 @@ define([ Common.UI.ColorButton = Common.UI.Button.extend(_.extend({ options : { - hint: false, - enableToggle: false, - visible: true + id : null, + hint : false, + enableToggle : false, + allowDepress : false, + toggleGroup : null, + cls : '', + iconCls : '', + caption : '', + menu : null, + disabled : false, + pressed : false, + split : false, + visible : true }, template: _.template([