[WebProfilerBundle] Update ajax calls in toolbar to add the css error class
This commit is contained in:
parent
12cf04f8f3
commit
1ea0f86d9a
@ -90,6 +90,9 @@
|
||||
rows.appendChild(row);
|
||||
|
||||
var methodCell = document.createElement('td');
|
||||
if (request.error) {
|
||||
methodCell.className = 'sf-ajax-request-error';
|
||||
}
|
||||
methodCell.textContent = request.method;
|
||||
row.appendChild(methodCell);
|
||||
|
||||
|
@ -315,7 +315,7 @@
|
||||
text-align: right;
|
||||
}
|
||||
.sf-ajax-request-error {
|
||||
color: #a33;
|
||||
color: #a33 !important;
|
||||
}
|
||||
.sf-ajax-request-loading {
|
||||
-webkit-animation: sf-blink .5s ease-in-out infinite;
|
||||
|
Reference in New Issue
Block a user