From 42bbfe2c7628ff8c02b435f3a579cd13ec983eb8 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 4 Aug 2016 20:07:38 +0300 Subject: [PATCH] debug combobox --- apps/common/main/lib/component/ComboBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/component/ComboBox.js b/apps/common/main/lib/component/ComboBox.js index 4a4cd537b..76049ea30 100644 --- a/apps/common/main/lib/component/ComboBox.js +++ b/apps/common/main/lib/component/ComboBox.js @@ -526,12 +526,12 @@ define([ this.scroller.destroy(); delete this.scroller; } - this.scroller = new Common.UI.Scroller({ + this.scroller = new Common.UI.Scroller(_.extend({ el: $('.dropdown-menu', this.cmpEl), minScrollbarLength : 40, scrollYMarginOffset: 30, includePadding : true - }); + }, this.options.scroller)); } } })());