[WebProfilerBundle] fixed undefined buttons.

This commit is contained in:
Abdellatif Ait boudad 2015-03-19 20:50:59 +00:00
parent d64cb493af
commit a8c4da12b8

View File

@ -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();