{
e.preventDefault();
- if(this.fireEvent('beforeremove', this, o) != false){
-
- Roo.each(this.files, function(file){
- if(typeof(file.id) == 'undefined' || file.id * 1 < 1 || file.id != o.id){
- return;
- }
-
- file.status = 'DELETE';
- o.target.mask();
-
- }, this);
-
- this.fireEvent('onremove', this, o);
- }
+ o.target.mask();
+
+ this.fireEvent('remove', this, o);
+
+// if(this.fireEvent('beforeremove', this, o) != false){
+//
+// Roo.each(this.files, function(file){
+// if(typeof(file.id) == 'undefined' || file.id * 1 < 1 || file.id != o.id){
+// return;
+// }
+//
+// file.status = 'DELETE';
+// o.target.mask();
+//
+// }, this);
+//
+// this.fireEvent('onremove', this, o);
+// }
},