projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
970e983
)
handle revert on event handling - use createDelegate
author
Alan Knowles
<alan@roojs.com>
Fri, 13 Mar 2020 01:46:39 +0000
(09:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 13 Mar 2020 01:46:39 +0000
(09:46 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
67a9203
..
05d9127
100644
(file)
--- 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'
});
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);
//view.on('click', this.onViewClick, this, { list : i });
store.on('beforeload', this.onBeforeLoad, this);