Roo/form/ComboBoxArray.js
authorEdward <edward@roojs.com>
Thu, 7 May 2015 09:06:22 +0000 (17:06 +0800)
committerEdward <edward@roojs.com>
Thu, 7 May 2015 09:06:22 +0000 (17:06 +0800)
Roo/form/ComboBoxArray.js

index e2482d6..530279c 100644 (file)
@@ -469,7 +469,7 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
             return;
         }
         
-        if(false !== this.cb.fireEvent('remove', this.cb, this)){
+        if(false !== this.cb.fireEvent('beforeremove', this.cb, this)){
             this.cb.items.remove(this);
             this.el.child('img').un('click', this.remove, this);
             this.el.remove();