Bug 19417: Make error just a wee more human
Small follow up to make the text explicitly say "Import of records failed" instead of "Failed to submit form" Users don't even know that they're submitting a form, what they think they're doing is uploading records. Let's use their words instead of developer words. Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
3d167645be
commit
0b81721d2d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function submitBackgroundJob(f) {
|
|||
backgroundJobProgressTimer = setInterval("updateJobProgress()", 500);
|
||||
},
|
||||
error: function(xml, textStatus) {
|
||||
humanMsg.displayMsg( '<p>' + _('Failed to submit form: ') + textStatus + '</p></br>'+xml.responseText, { className: 'humanError' } );
|
||||
humanMsg.displayMsg( '<p>' + _('Import of record(s) failed: ') + textStatus + '</p></br>'+xml.responseText, { className: 'humanError' } );
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue