diff --git a/extension/chrome/content/lib/renderer.js b/extension/chrome/content/lib/renderer.js index fcfaec5..c42de70 100644 --- a/extension/chrome/content/lib/renderer.js +++ b/extension/chrome/content/lib/renderer.js @@ -61,7 +61,7 @@ function(DOMPLATE, REPS, CSS) if (this.consoleTemplates[TemplateName]) { oo = Firebug.Console.logRow(function(object, row, rep) { return rep.tag.append({object: object, meta:Meta}, row); - }, Data, context, this.consoleTemplates[TemplateName].className, this.consoleTemplates[TemplateName], null, false); + }, Data, context, this.consoleTemplates[TemplateName].className, this.consoleTemplates[TemplateName], null, true); } else if(UseFirebugTemplates) { @@ -209,11 +209,12 @@ function(DOMPLATE, REPS, CSS) // NOTE: Throttleing is disabled which may caue the group to be interted in a different // index than originally intended as other messages are inserted with throttleing enabled. // This should be done in a better way in future. - var row = Firebug.Console.openGroup(msg, context, "group", null, true); - - if(meta.Collapsed && meta.Collapsed=='true') { - CSS.removeClass(row, "opened"); - } + if (meta.Collapsed && 'true' == meta.Collapsed) { + var row = Firebug.Console.openCollapsedGroup(msg, context, "group", null, true); + } else { + var row = Firebug.Console.openGroup(msg, context, "group", null, true); + } + if(meta.Color) { row.style.color = meta.Color; }