Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[WebProfilerBundle][TwigBundle] Fix infinite js loop on exception pages#23577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.3fromogizanagi:fix/3.3/profiler_base_js
Jul 19, 2017
Merged

[WebProfilerBundle][TwigBundle] Fix infinite js loop on exception pages#23577

fabpot merged 1 commit intosymfony:3.3fromogizanagi:fix/3.3/profiler_base_js
Jul 19, 2017

Conversation

@ogizanagi
Copy link
Contributor

@ogizanagiogizanagi commentedJul 18, 2017
edited
Loading

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23566
LicenseMIT
Doc PRN/A

@xabbuhxabbuh added this to the3.3 milestoneJul 18, 2017
var toggleLinks=document.querySelectorAll('.sf-toggle a');
for (vari=0;i<toggleLinks.length;i++) {
addEventListener(toggleLinks[i],'click',function(e) {
for (varj=0;j<toggleLinks.length;j++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This change is not needed, right? Herei is not defined. I supposed you did that for consistency with the other file?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Good catch actually: There is no reason there is any difference between the two files. The right fix is that it shouldn't have been called within the above loop at the first place.

@fabpot
Copy link
Member

Thank you@ogizanagi.

@fabpotfabpot merged commit295fda9 intosymfony:3.3Jul 19, 2017
fabpot added a commit that referenced this pull requestJul 19, 2017
…ception pages (ogizanagi)This PR was merged into the 3.3 branch.Discussion----------[WebProfilerBundle][TwigBundle] Fix infinite js loop on exception pages| Q             | A| ------------- | ---| Branch?       | 3.3 <!-- see comment below -->| Bug fix?      | yes| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks?    | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass?   | yes| Fixed tickets |#23566 <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | N/ACommits-------295fda9 [WebProfilerBundle][TwigBundle] Fix infinite js loop on exception pages
@ogizanagiogizanagi deleted the fix/3.3/profiler_base_js branchJuly 19, 2017 05:37
@fabpotfabpot mentioned this pull requestAug 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

4 participants

@ogizanagi@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp