Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2003 → Rev 2004

/branches/v1.8-debroussailleuse/vendors/gwt-ext-ux/UploadDialog/Ext.ux.UploadDialog.packed.js
1363,6 → 1363,18
'message' : this.response
}
if(response.responseText == '') {
var data = {
record : options.record,
response : {
'success' : true,
'message' : "OK"
}
}
this.fsa.postEvent('file-upload-success', data);
return;
}
if(response.responseText == "OK" )
{
var data = {
/branches/v1.8-debroussailleuse/vendors/gwt-ext-ux/UploadDialog/Ext.ux.UploadDialog.js
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 {