From: Alan Knowles Date: Fri, 13 Mar 2020 01:46:39 +0000 (+0800) Subject: handle revert on event handling - use createDelegate X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=bd6281c13b521c925de6ec3e507032d62f8e329c handle revert on event handling - use createDelegate --- 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);