Skip to content

[WebProfilerBundle] Fixed the form display in the profiler #12950

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

saro0h
Copy link
Contributor

@saro0h saro0h commented Dec 11, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #12949
License MIT
Doc PR ~

With this patch I get the profiler on my form submitted:

capture d ecran 2014-12-11 a 20 59 16

@xabbuh
Copy link
Member

xabbuh commented Dec 11, 2014

see also #12889 and #12930

@saro0h
Copy link
Contributor Author

saro0h commented Dec 11, 2014

Should I remove the modification on line 423, in case these PR are merged?

@xabbuh
Copy link
Member

xabbuh commented Dec 11, 2014

I feel that the best would be if @HeahDude included these changes in his pull request to have all related changes in one commit or at least in one pull request (he could cherry pick your changes).

@HeahDude
Copy link
Contributor

@xabbuh & @saro0h , I can, keep me posted if you want me to do it. And as @kix suggested in #10054 it should be if data.type is defined and data.type is not empty to preserve the logic

@saro0h
Copy link
Contributor Author

saro0h commented Dec 12, 2014

@HeahDude Tell me whenever it's done on your side, that way I'll close mine PR.

@@ -414,13 +414,13 @@

{% macro form_tree_entry(name, data, expanded) %}
<li>
<div class="tree-inner" data-tab-target-id="{{ data.id }}-details">
<div class="tree-inner" data-tab-target-id="{% if data.id is defined %}{{ data.id }}{% endif %}-details">
Copy link
Member

Choose a reason for hiding this comment

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

the if check should be around the whole data attribute instead

@HeahDude
Copy link
Contributor

@saro0h & @xabbuh Done. => #12889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants