diff --git a/apps/common/main/lib/component/ColorButton.js b/apps/common/main/lib/component/ColorButton.js index c01bcd325..75a7205a4 100644 --- a/apps/common/main/lib/component/ColorButton.js +++ b/apps/common/main/lib/component/ColorButton.js @@ -107,10 +107,12 @@ define([ var id = Common.UI.getId(), menu = new Common.UI.Menu({ id: id, + cls: 'shifted-left', + custom: true, additionalAlign: options.additionalAlign, items: (options.additionalItems ? options.additionalItems : []).concat([ { template: _.template('
') }, - { template: _.template('' + this.textNewColor + '') } + { template: _.template('' + this.textNewColor + '') } ]) }); return menu; diff --git a/apps/common/main/lib/component/Menu.js b/apps/common/main/lib/component/Menu.js index e528612c6..e232b8bf8 100644 --- a/apps/common/main/lib/component/Menu.js +++ b/apps/common/main/lib/component/Menu.js @@ -150,11 +150,12 @@ define([ offset : [0, 0], cyclic : true, search : false, - scrollAlwaysVisible: true + scrollAlwaysVisible: true, + custom : false }, template: _.template([ - '' + '' ].join('')), initialize : function(options) { @@ -620,11 +621,12 @@ define([ offset : [0, 0], cyclic : true, search : false, - scrollAlwaysVisible: true + scrollAlwaysVisible: true, + custom : false }, template: _.template([ - '