Bug 19417: Display full error text when problem importing records
[koha.git] / koha-tmpl / intranet-tmpl / prog / js / background-job-progressbar.js
index cc08618..66dac87 100644 (file)
@@ -69,7 +69,7 @@ function submitBackgroundJob(f) {
                 backgroundJobProgressTimer = setInterval("updateJobProgress()", 500);
             },
             error: function(xml, textStatus) {
-                alert('Failed to submit form: ' + textStatus);
+                humanMsg.displayMsg( '<p>' + _('Failed to submit form: ') + textStatus + '</p></br>'+xml.responseText, { className: 'humanError' } );
             }
 
         });