Index: branches/RC/core/admin_templates/js/application.js =================================================================== diff -u -r11482 -r11546 --- branches/RC/core/admin_templates/js/application.js (.../application.js) (revision 11482) +++ branches/RC/core/admin_templates/js/application.js (.../application.js) (revision 11546) @@ -35,6 +35,17 @@ } } +kApplication.prototype.removeDebuggerStatistics = function () { + var $debug_statistics = $('table.dbg_stats_table:first'); + if ($debug_statistics.length > 0) { + // remove debugger short report and preceeding line break, because + // this adds additional vertical scrollbar (no matter what document.style.overflow is) + // when used in Opera & Google Chrome + $debug_statistics.prev('br').remove(); + $debug_statistics.remove(); + } +} + kApplication.prototype.SetVar = function ($name, $value) { set_hidden_field($name, $value); }