8000 Merge branch '2.8' · ostrolucky/symfony@924cc20 · GitHub
[go: up one dir, main page]

Skip to content

Commit 924cc20

Browse files
committed
Merge branch '2.8'
* 2.8: (28 commits) Detect Mintty for color support on Windows Detect Mintty for color support on Windows [WebProfilerBundle] Fix search button click listener [Form][Type Date/Time] added choice_translation_domain option. Massively simplifying the BC and deprecated-throwing code thanks to suggestions by stof in symfony#15870 Making all "debug" messages use the debug router Making GuardTokenInterface extend TokenInterface Updating behavior to not continue after an authenticator has set the response Add a group for tests of the finder against the FTP server Fix trigger_error calls Fix legacy security tests tweaking message related to configuration edge case that we want to be helpful with Minor tweaks - lowering the required security-http requirement and nulling out a test field Fix license headers Fix license headers Fix license headers Ensure the ClockMock is loaded before using it in the testsuite Allow serializer 3.0 in the PropertyInfo component Add the replace rules for the security-guard component Forbid serializing a Crawler ...
2 parents 7baf65c + f78c4d1 commit 924cc20

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Resources/views/Profiler/base_js.html.twig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,13 @@
390390
e.preventDefault();
391391
392392
var toggle = e.target || e.srcElement;
393+
394+
/* needed because when the toggle contains HTML contents, user can click */
395+
/* on any of those elements instead of their parent '.sf-toggle' element */
396+
while (!Sfjs.hasClass(toggle, 'sf-toggle')) {
397+
toggle = toggle.parentNode;
398+
}
399+
393400
var element = document.querySelector(toggle.getAttribute('data-toggle-selector'));
394401
395402
Sfjs.toggleClass(element, 'sf-toggle-hidden');

0 commit comments

Comments
 (0)
0