From 7aa18ded9babb15bc9f7e517bfd0d5fb16862242 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 24 Apr 2019 17:39:20 +0300 Subject: [PATCH] Fix Bug 41407 --- apps/common/main/lib/component/ComboBoxFonts.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index faf8989a9..4c0be1c55 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -310,6 +310,11 @@ define([ me.store.set(store.toJSON()); me.rendered = false; + if (!_.isUndefined(me.scroller)) { + me.scroller.destroy(); + delete me.scroller; + } + me._scrollerIsInited = false; me.render($(me.el)); me._fontsArray = me.store.toJSON();