Minor Ajax tweaks
This commit is contained in:
parent
acee052b68
commit
af3dcb2a97
@ -169,12 +169,8 @@
|
|||||||
infoSpan.textContent = text;
|
infoSpan.textContent = text;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var cell = document.createElement('td');
|
var ajaxToolbarPanel = document.querySelectorAll('.sf-toolbar-block-ajax');
|
||||||
cell.setAttribute('colspan', '4');
|
ajaxToolbarPanel[0].style.display = 'none';
|
||||||
cell.textContent = "No AJAX requests yet.";
|
|
||||||
var row = document.createElement('tr');
|
|
||||||
row.appendChild(cell);
|
|
||||||
tbody.appendChild(row);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -343,6 +343,9 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
.sf-toolbar-ajax-requests tr:last-child td {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
.sf-toolbar-ajax-requests th {
|
.sf-toolbar-ajax-requests th {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
Reference in New Issue
Block a user