Roo.bootstrap.CardUploader.superclass.constructor.call(this, config);
- this.imageCollection = new Roo.util.MixedCollection(function(r) { return r.id });
+ this.imageCollection = new Roo.util.MixedCollection(function(r) { return r.data.id });
};
// hidden input element?
// if the file is not an image...
//then we need to use something other that and header_image
-
+ var t = this;
// remove.....
var footer = [
{
fa : 'download',
listeners : {
click : function() {
- // download
+ this.removeEl(data.id)
}
}
},