Skip to content

Commit 32da963

Browse files
committed
bug #13987 [WebProfilerBundle] fixed undefined buttons variable. (aitboudad)
This PR was merged into the 2.6 branch. Discussion ---------- [WebProfilerBundle] fixed undefined buttons variable. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Fixed tickets | #13974, #13636 | Tests pass? | yes | License | MIT Commits ------- a8c4da1 [WebProfilerBundle] fixed undefined buttons.
2 parents d64cb49 + a8c4da1 commit 32da963

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
throw "Tab target " + targetId + " does not exist";
374374
}
375375
376-
clickHandler(buttons[i], select);
376+
clickHandler(tabs[i], select);
377377
378378
Sfjs.addClass(target, 'hidden');
379379
}
@@ -398,7 +398,7 @@
398398
e = window.event;
399399
}
400400
401-
callback(e.target || e.srcElement);
401+
callback(this);
402402
403403
if (e.preventDefault) {
404404
e.preventDefault();

0 commit comments

Comments
 (0)