Minor Ajax tweaks

This commit is contained in:
Javier Eguiluz 2015-07-08 18:01:44 +02:00
parent acee052b68
commit af3dcb2a97
2 changed files with 5 additions and 6 deletions

View File

@ -169,12 +169,8 @@
infoSpan.textContent = text;
}
} else {
var cell = document.createElement('td');
cell.setAttribute('colspan', '4');
cell.textContent = "No AJAX requests yet.";
var row = document.createElement('tr');
row.appendChild(cell);
tbody.appendChild(row);
var ajaxToolbarPanel = document.querySelectorAll('.sf-toolbar-block-ajax');
ajaxToolbarPanel[0].style.display = 'none';
}
}

View File

@ -343,6 +343,9 @@
font-size: 12px;
padding: 4px;
}
.sf-toolbar-ajax-requests tr:last-child td {
border-bottom: 0;
}
.sf-toolbar-ajax-requests th {
background-color: #222;
border-bottom: 0;