mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 11:16:59 +02:00
replace alert with Ext.Msg.alert
This commit is contained in:
@@ -198,7 +198,8 @@ if (Sonia.config.ConfigForm){
|
||||
resetButtontext: 'Reset',
|
||||
|
||||
submitText: 'Senden ...',
|
||||
loadingText: 'Laden ...'
|
||||
loadingText: 'Laden ...',
|
||||
failedText: 'Es ist ein unbekannter Fehler aufgetreten.'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -278,6 +278,7 @@ Sonia.config.ConfigForm = Ext.extend(Ext.form.FormPanel, {
|
||||
|
||||
submitText: 'Submit ...',
|
||||
loadingText: 'Loading ...',
|
||||
failedText: 'Unknown Error occurred.',
|
||||
|
||||
items: null,
|
||||
onSubmit: null,
|
||||
@@ -402,7 +403,7 @@ Sonia.config.SimpleConfigForm = Ext.extend(Sonia.config.ConfigForm,{
|
||||
failure: function(){
|
||||
el.unmask();
|
||||
clearTimeout(tid);
|
||||
alert('failure');
|
||||
Ext.Msg.alert( this.failedText );
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user