Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c5f839

Browse filesBrowse files
bug #26368 [WebProfilerBundle] Fix Debug toolbar breaks app (xkobal)
This PR was squashed before being merged into the 2.7 branch (closes #26368). Discussion ---------- [WebProfilerBundle] Fix Debug toolbar breaks app | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #26364 | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Wrong method is used to count `tbody.rows` Commits ------- 52f187e [WebProfilerBundle] Fix Debug toolbar breaks app
2 parents 31c69ec + 52f187e commit 0c5f839
Copy full SHA for 0c5f839

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
var rows = document.createDocumentFragment();
109109
110110
if (requestStack.length) {
111-
var nbOfAjaxRequest = tbodies.rows.count();
111+
var nbOfAjaxRequest = tbodies.rows.length;
112112
if (nbOfAjaxRequest >= 100) {
113113
tbodies.deleteRow(nbOfAjaxRequest - 1);
114114
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.