From bd6281c13b521c925de6ec3e507032d62f8e329c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 13 Mar 2020 09:46:39 +0800 Subject: [PATCH] handle revert on event handling - use createDelegate --- Roo/form/ComboNested.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index 67a92033d4..05d9127ce4 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -186,8 +186,8 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { left: (i * lw ) + 'px', display : i > 0 ? 'none' : 'block' }); - view.on('selectionchange', this.onSelectChange, this, {list : i }); - view.on('dblclick', this.onDoubleClick, this, {list : i }); + view.on('selectionchange', this.onSelectChange.createDelegate(this, {list : i }, true)); + view.on('dblclick', this.onDoubleClick.createDelegate(this, {list : i }, true)); //view.on('click', this.onViewClick, this, { list : i }); store.on('beforeload', this.onBeforeLoad, this); -- 2.39.2