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.
This commit is contained in:
commit
32da963472
@ -373,7 +373,7 @@
|
||||
throw "Tab target " + targetId + " does not exist";
|
||||
}
|
||||
|
||||
clickHandler(buttons[i], select);
|
||||
clickHandler(tabs[i], select);
|
||||
|
||||
Sfjs.addClass(target, 'hidden');
|
||||
}
|
||||
@ -398,7 +398,7 @@
|
||||
e = window.event;
|
||||
}
|
||||
|
||||
callback(e.target || e.srcElement);
|
||||
callback(this);
|
||||
|
||||
if (e.preventDefault) {
|
||||
e.preventDefault();
|
||||
|
Reference in New Issue
Block a user