Add support for "pending" uploads
Refs: #7621
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -10,7 +10,7 @@ define(function(require) { | ... | @@ -10,7 +10,7 @@ define(function(require) { |
10 | var Status = Backbone.Model.extend({ | 10 | var Status = Backbone.Model.extend({ |
11 | defaults: function() { | 11 | defaults: function() { |
12 | return { | 12 | return { |
13 | result: null, | 13 | result: 'pending', |
14 | resultData: null, | 14 | resultData: null, |
15 | sent: null, | 15 | sent: null, |
16 | completion: null, | 16 | completion: null, |
... | @@ -130,7 +130,7 @@ define(function(require) { | ... | @@ -130,7 +130,7 @@ define(function(require) { |
130 | return true; | 130 | return true; |
131 | }, | 131 | }, |
132 | filesSubmitted: function() { | 132 | filesSubmitted: function() { |
133 | this.flow.upload(); | 133 | // this.flow.upload(); |
134 | }, | 134 | }, |
135 | fileProgress: function(flowFile) { | 135 | fileProgress: function(flowFile) { |
136 | var model = flowFile._model; | 136 | var model = flowFile._model; | ... | ... |
-
Please register or sign in to post a comment