Merged in dheeyi/processmaker/PM-2695 (pull request #2163)

PM-2695 Se corrigio ese error que solo ocurre en navegadores de tipo IE8
This commit is contained in:
Julio Cesar Laura Avendaño
2015-05-09 14:50:10 -04:00
2 changed files with 12 additions and 2 deletions

View File

@@ -327,7 +327,12 @@ Ext.onReady(function(){
Ext.Msg.alert('Failure', 'Server reported:'+a.response.status+' '+a.response.statusText);
}
if (a.failureType === Ext.form.Action.SERVER_INVALID){
Ext.Msg.alert('Warning', 'you have an error');
if(Ext.isIE){
success = true;
window.location = 'authSources_List';
}else{
Ext.Msg.alert( _('ID_WARNING'), _('ID_YOU_HAVE_ERROR') );
}
}
}
});

View File

@@ -351,7 +351,12 @@ Ext.onReady(function(){
Ext.Msg.alert(_('ID_FAILURE'), _('ID_SERVER_REPORTED') + ':'+a.response.status+' '+a.response.statusText);
}
if (a.failureType === Ext.form.Action.SERVER_INVALID){
Ext.Msg.alert( _('ID_WARNING'), _('ID_YOU_HAVE_ERROR') );
if(Ext.isIE){
success = true;
window.location = 'authSources_List';
}else{
Ext.Msg.alert( _('ID_WARNING'), _('ID_YOU_HAVE_ERROR') );
}
}
}
});