From 039c46e05cdb30c58e837f7db838a5733c7c447d Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 16 Jul 2014 17:20:21 +0800 Subject: [PATCH] Roo/form/ComboBoxArray.js --- Roo/form/ComboBoxArray.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Roo/form/ComboBoxArray.js b/Roo/form/ComboBoxArray.js index 89b9097d61..f1c295b5f2 100644 --- a/Roo/form/ComboBoxArray.js +++ b/Roo/form/ComboBoxArray.js @@ -36,6 +36,16 @@ 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); @@ -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.fireEvent('remove', this); } }); \ No newline at end of file -- 2.39.2