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] Move ajax clear event listener initialization on loadToolbar#37077

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

Conversation

@Seikyo
Copy link

@SeikyoSeikyo commentedJun 2, 2020
edited
Loading

QA
Branch?4.4
Bug fix?no
New feature?no
Deprecations?no
TicketsFix#37073
LicenseMIT

Fix ajax clear event listener stacking on each ajax request made.
Comment says if should be synced withTwigBundle/Resources/views/base_js.html.twig

If not applicable feel free to deny.

@stof
Copy link
Member

stof commentedJun 2, 2020

This comment should be removed in the 5.0 branch of Symfony, as thebase_js file from TwigBundle got removed there.

@stof
Copy link
Member

stof commentedJun 2, 2020

I'm quite sure this bugfix should apply to older versions than master though.

@Seikyo
Copy link
Author

Sorry I'm a little lost in the process of proposing a pull request.
I checked the maintained versions from the roadmap and :

  • 3.4 is not applicable as it does not have event listener on '.sf-toolbar-ajax-clear'
  • 4.4 is applicable to this patch
  • 5.0 and 5.1 are applicable to this patch but top comment should be removed as you suggested

Should I update the pull request branch to ">=4.4" ?

@stof
Copy link
Member

stof commentedJun 2, 2020

yeah, please submit this to 4.4 (and then check if the TwigBundle file needs the same patch).

Removing the top comment in 5.0 is not actually something related to your bugfix (it is related to what you wrote, though). This should probably be done as a separate PR against the branch.

@SeikyoSeikyoforce-pushed thefix_ajax_event_listeners_stacking branch from4edfe93 tocf4587bCompareJune 2, 2020 16:21
@SeikyoSeikyo requested a review fromdunglas as acode ownerJune 2, 2020 16:21
@SeikyoSeikyo changed the base branch frommaster to4.4June 2, 2020 16:25
@Seikyo
Copy link
Author

Pull request target was updated to origin/4.4 and rebased onto it.
No references to-clear were found in theTwigBundle/Resources/views/base_js.html.twig.

@fabpot
Copy link
Member

Thank you@Seikyo.

@fabpotfabpot merged commit950ff7e intosymfony:4.4Jun 2, 2020
This was referencedJun 12, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@dunglasdunglasAwaiting requested review from dunglas

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[web-profiler-bundle] Debug toolbar javascript stacks event listeners

4 participants

@Seikyo@stof@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp