Bläddra i källkod

[minor] fix style for report

version-14
Rushabh Mehta 9 år sedan
förälder
incheckning
10c56e62f8
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. +1
    -2
      frappe/public/js/frappe/request.js

+ 1
- 2
frappe/public/js/frappe/request.js Visa fil

@@ -300,8 +300,7 @@ frappe.request.report_error = function(xhr, request_opts) {
var error_report_email = (frappe.boot.error_report_email || []).join(", "); var error_report_email = (frappe.boot.error_report_email || []).join(", ");
var error_message = '<div>\ var error_message = '<div>\
<pre style="max-height: 300px; margin-top: 7px;">' + exc + '</pre>' <pre style="max-height: 300px; margin-top: 7px;">' + exc + '</pre>'
+'<p class="text-right"><a class="btn btn-default report-btn">\
<i class="icon-fixed-width icon-envelope"></i> '
+'<p class="text-right"><a class="btn btn-primary btn-sm report-btn">'
+ __("Report this issue") + '</a></p>' + __("Report this issue") + '</a></p>'
+'</div>'; +'</div>';




Laddar…
Avbryt
Spara