projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
489b046
)
Roo/form/ComboBox.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Aug 2010 06:33:57 +0000
(14:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 11 Aug 2010 06:33:57 +0000
(14:33 +0800)
Roo/form/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBox.js
b/Roo/form/ComboBox.js
index
e14c06b
..
76f65ec
100644
(file)
--- a/
Roo/form/ComboBox.js
+++ b/
Roo/form/ComboBox.js
@@
-397,7
+397,7
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
{tag: 'img', src: Roo.BLANK_IMAGE_URL, cls: 'x-form-combo-add' });
this.addicon.on('click', function(e) {
- this.fireEvent('add', this
, e
);
+ this.fireEvent('add', this);
}, this);
}
if (typeof(this.events.edit.listeners) != 'undefined') {
@@
-406,7
+406,10
@@
Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
{tag: 'img', src: Roo.BLANK_IMAGE_URL, cls: 'x-form-combo-edit' });
this.addicon.on('click', function(e) {
- this.fireEvent('edit', this, e);
+ if (this.lastData) {
+
+ }
+ this.fireEvent('edit', this, this.lastData );
}, this);
}