this.fileCollection.each(function(card) {
card.el.dom.parentNode.removeChild(card.el.dom);
});
+ this.fileCollection.clear();
this.inputEl().dom.value = '[]';
},
this.fileCollection.each(function(e) {
data.push(e.data);
});
+
this.inputEl().dom.value = JSON.stringify(data);
}