Remove ownerContent handling from fileSuccess.
Refs: #7621
Showing
1 changed file
with
0 additions
and
5 deletions
... | @@ -120,14 +120,9 @@ define(function(require) { | ... | @@ -120,14 +120,9 @@ define(function(require) { |
120 | resultData: message, | 120 | resultData: message, |
121 | }); | 121 | }); |
122 | 122 | ||
123 | console.log('UPLOAD COMPLETE', flowFile.flowObj.ownerContent); | ||
124 | flowFile.flowObj.ownerContent.set('statusId', 'CTNT_AVAILABLE'); | ||
125 | flowFile.flowObj.ownerContent.save(function() { | ||
126 | console.log('MARKED', flowFile.flowObj.ownerContent, ' AVAILABLE'); | ||
127 | if (this.model.get('handlers') && this.model.get('handlers').fileSuccess !== undefined) { | 123 | if (this.model.get('handlers') && this.model.get('handlers').fileSuccess !== undefined) { |
128 | this.model.get('handlers').fileSuccess(flowFile); | 124 | this.model.get('handlers').fileSuccess(flowFile); |
129 | } | 125 | } |
130 | }); | ||
131 | } | 126 | } |
132 | }, | 127 | }, |
133 | fileError: function(flowFile, message, chunk) { | 128 | fileError: function(flowFile, message, chunk) { | ... | ... |
-
Please register or sign in to post a comment