1363,17 → 1363,27 |
'message' : this.response |
} |
|
if(this.response == 'OK' ) |
{ |
json_response.success = true ; |
if(response.responseText == '') { |
var data = { |
record : options.record, |
response : { |
'success' : true, |
'message' : "OK" |
} |
} |
this.fsa.postEvent('file-upload-success', data); |
return; |
} |
|
var data = { |
record: options.record, |
response: json_response |
} |
|
if ('success' in json_response && json_response.success) { |
if(response.responseText == "OK" ) |
{ |
var data = { |
record : options.record, |
response : { |
'success' : true, |
'message' : this.response |
} |
} |
this.fsa.postEvent('file-upload-success', data); |
} |
else { |