PM--2619 No se visualiza si se subió correctamente el logo requerido

This commit is contained in:
Brayan Pereyra
2015-05-06 15:31:54 -04:00
parent bb3e1d3885
commit 6709f28546
2 changed files with 8 additions and 3 deletions

View File

@@ -257,7 +257,7 @@ Ext.onReady(function() {
waitTitle : " ",
success : function(form, o) {
obj = Ext.util.JSON.decode(o.response.responseText);
if (obj.failed == '0' && obj.uploaded != '0') {
if ((obj.failed == '' || obj.failed == '0') && obj.uploaded != '0') {
PMExt.notify(_('ID_SUCCESS'), _('ID_YOUR_IMAGE_HAS_BEEN_SUCCESSFULLY'));
}
else {