minor #30130 [WebProfilerBundle] Add ajax request number (Antoine Lamirault)
This PR was merged into the 4.3-dev branch.
Discussion
----------
[WebProfilerBundle] Add ajax request number
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #30121
| License | MIT
Add request number foreach ajax call in profiler.
![screenshot_2019-02-10_18-54-02](https://user-images.githubusercontent.com/9253091/52537598-c830c980-2d68-11e9-815e-90345b6bbd88.png)
Commits
-------
70a38cfdfd
[WebProfilerBundle] Add ajax request number
This commit is contained in:
commit
33145dae62
@ -14,6 +14,7 @@
|
||||
<table class="sf-toolbar-ajax-requests">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Profile</th>
|
||||
<th>Method</th>
|
||||
<th>Type</th>
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user