Merge branch '2.7' into 2.8

* 2.7:
  [WebProfilerBundle] fix wrong variable for profiler counting ajax requests
This commit is contained in:
Nicolas Grekas 2018-03-02 16:25:13 +01:00
commit 710a189e83

View File

@ -111,9 +111,9 @@
var rows = document.createDocumentFragment();
if (requestStack.length) {
var nbOfAjaxRequest = tbodies.rows.length;
var nbOfAjaxRequest = tbody.rows.length;
if (nbOfAjaxRequest >= 100) {
tbodies.deleteRow(nbOfAjaxRequest - 1);
tbody.deleteRow(nbOfAjaxRequest - 1);
}
for (var i = 0; i < requestStack.length; i++) {