projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
953b464
)
Roo/form/ComboBoxArray.js
author
Edward
<edward@roojs.com>
Wed, 16 Jul 2014 09:20:21 +0000
(17:20 +0800)
committer
Edward
<edward@roojs.com>
Wed, 16 Jul 2014 09:20:21 +0000
(17:20 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
89b9097
..
f1c295b
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-36,6
+36,16
@@
Roo.form.ComboBoxArray = function(config)
{
Roo.form.ComboBoxArray = function(config)
{
+ this.addEvents({
+ /**
+ * @event remove
+ * Fires when remove the value from the list
+ * @param {Roo.form.ComboBox} combo This combo box
+ */
+ 'remove' : true
+
+
+ });
Roo.form.ComboBoxArray.superclass.constructor.call(this, config);
Roo.form.ComboBoxArray.superclass.constructor.call(this, config);
@@
-452,5
+462,7
@@
Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
this.el.child('img').un('click', this.remove, this);
this.el.remove();
this.cb.updateHiddenEl();
this.el.child('img').un('click', this.remove, this);
this.el.remove();
this.cb.updateHiddenEl();
+
+ this.fireEvent('remove', this);
}
});
\ No newline at end of file
}
});
\ No newline at end of file