Add fileSuccess callback support
Refs: #7621
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -163,6 +163,9 @@ define(function(require) { | ... | @@ -163,6 +163,9 @@ define(function(require) { |
163 | flowFile.flowObj.ownerContent.set('statusId', 'CTNT_AVAILABLE'); | 163 | flowFile.flowObj.ownerContent.set('statusId', 'CTNT_AVAILABLE'); |
164 | flowFile.flowObj.ownerContent.save(function() { | 164 | flowFile.flowObj.ownerContent.save(function() { |
165 | console.log('MARKED', flowFile.flowObj.ownerContent, ' AVAILABLE'); | 165 | console.log('MARKED', flowFile.flowObj.ownerContent, ' AVAILABLE'); |
166 | if (this.model.get('handlers') && this.model.get('handlers').fileSuccess !== undefined) { | ||
167 | this.model.get('handlers').fileSuccess(flowFile); | ||
168 | } | ||
166 | }); | 169 | }); |
167 | } | 170 | } |
168 | }, | 171 | }, | ... | ... |
-
Please register or sign in to post a comment