PM-723 error 404 al importar licencia enterprise SOLVED

- no se carga un archivo dando error 404.
- el archivo ya no existe ahora redireciona al archivo correcto.
- Se elimino el mensaje al importar la licencia.
This commit is contained in:
Marco Antonio Nina
2014-10-23 13:39:04 -04:00
parent 541aa402e8
commit 018bfdaa73
2 changed files with 4 additions and 15 deletions

View File

@@ -763,20 +763,17 @@ Ext.onReady(function() {
waitTitle: _('ID_PLEASE_WAIT'),
waitMsg: _('ID_UPDATING_LICENSE_MSG'),
success: function (form, o) {
Ext.MessageBox.alert(_('ID_INFORMATION'), _('ID_SUCCESSFULLY_UPLOADED'), function () {
Ext.MessageBox.alert(_('ID_INFORMATION'), _('ID_SUCCESSFULLY_UPLOADED') + ' ' + _('ID_ENTERPRISE_INSTALLED'), function () {
parent.parent.window.location.href = newLocation();
});
},
failure: function (form, action) {
if (action.failureType == 'server') {
parent.parent.window.location.href = newLocation();
} else if (action.failureType == 'client') {
var dataResponse = eval("(" + action.response.responseText.trim() + ")"); //json
Ext.MessageBox.alert(_('ID_WARNING'), (dataResponse.errors)? dataResponse.errors : _('ID_WARNING_ERROR_UPDATING'));
} else {
var dataResponse = eval("(" + action.response.responseText.trim() + ")"); //json
Ext.MessageBox.alert(_('ID_WARNING'), (dataResponse.errors)? dataResponse.errors : _('ID_WARNING_ERROR_UPDATING'));
return;
}
var dataResponse = eval("(" + action.response.responseText.trim() + ")"); //json
Ext.MessageBox.alert(_('ID_WARNING'), (dataResponse.errors)? dataResponse.errors : _('ID_WARNING_ERROR_UPDATING'));
}
});
}