diff --git a/workflow/engine/templates/authSources/authSourcesEdit.js b/workflow/engine/templates/authSources/authSourcesEdit.js index 76e845dbd..6878e847e 100644 --- a/workflow/engine/templates/authSources/authSourcesEdit.js +++ b/workflow/engine/templates/authSources/authSourcesEdit.js @@ -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') ); + } } } }); diff --git a/workflow/engine/templates/authSources/authSourceskindof.js b/workflow/engine/templates/authSources/authSourceskindof.js index c26745472..46dd0b4eb 100644 --- a/workflow/engine/templates/authSources/authSourceskindof.js +++ b/workflow/engine/templates/authSources/authSourceskindof.js @@ -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') ); + } } } });