[WebProfilerBundle] Add ajax request number

This commit is contained in:
Antoine Lamirault 2019-02-10 19:13:17 +01:00
parent 5ed68eec7e
commit 70a38cfdfd
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@
<table class="sf-toolbar-ajax-requests">
<thead>
<tr>
<th>#</th>
<th>Profile</th>
<th>Method</th>
<th>Type</th>

View File

@ -136,6 +136,10 @@
var row = document.createElement('tr');
request.DOMNode = row;
var requestNumberCell = document.createElement('td');
requestNumberCell.textContent = index + 1;
row.appendChild(requestNumberCell);
var profilerCell = document.createElement('td');
profilerCell.textContent = 'n/a';
row.appendChild(profilerCell);