aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 12:17:53 +0200
committerCamil Staps2016-08-01 12:17:53 +0200
commit79fa054c32f9c58c7cc27539755365535f3c0aec (patch)
treef3d309d157a40c5b9c91955a6cb2a95673ecdff3 /js
parentFix lowercase class names (diff)
Error when sending email when invoice is not generated yet
Diffstat (limited to 'js')
-rw-r--r--js/businessadmin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/businessadmin.js b/js/businessadmin.js
index 1d00fa9..ecd132d 100644
--- a/js/businessadmin.js
+++ b/js/businessadmin.js
@@ -159,7 +159,7 @@ function offerEmail(offerId) {
modalBody.html(data);
},
error: function(jqxhr, stat, err) {
- modalBody.html('<div class="alert alert-danger" role="alert">' + stat + ': ' + err + '</div>');
+ modalBody.html('<div class="alert alert-danger" role="alert">' + stat + ': ' + err + '<br/>' + jqxhr.responseText + '</div>');
}
});
}