1a60a492 by Ean Schuessler

Add fileSuccess callback support

Refs: #7621
1 parent dd007e1b
......@@ -163,6 +163,9 @@ define(function(require) {
flowFile.flowObj.ownerContent.set('statusId', 'CTNT_AVAILABLE');
flowFile.flowObj.ownerContent.save(function() {
console.log('MARKED', flowFile.flowObj.ownerContent, ' AVAILABLE');
if (this.model.get('handlers') && this.model.get('handlers').fileSuccess !== undefined) {
this.model.get('handlers').fileSuccess(flowFile);
}
});
}
},
......