Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / ComboBoxArray.js
index 4f7f459..74a0289 100644 (file)
@@ -457,13 +457,13 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
    
     remove : function()
     {
-        
+        Roo.log(this);
         this.cb.items.remove(this);
         this.el.child('img').un('click', this.remove, this);
         this.el.remove();
         this.cb.updateHiddenEl();
         
         Roo.log('remove?????');
-        this.fireEvent('remove', this);
+        this.cb.fireEvent('remove', this.cb, this);
     }
 });
\ No newline at end of file