It's fixed now for next CB version.
Since we got CB supporters in this thread (thank you !

), here a quick-fix for CB 1.1:
in file administrator/components/com_comprofiler/comprofiler.class.php
Search for :
[code:1]if ( ! $functionOutputed ) {[/code:1]
and replace everything between that line and the closing } (that line and closing tag included) by:
[code:1] if ( ! $functionOutputed ) {
global $_CB_ui;
$head = "<script type=\"text/javascript\"><!--//--><![CDATA[//><!--\n"
. "var cbshowtabsArray = new Array();\n"
. "function showCBTab( sName ) {\n"
. " if ( typeof(sName) == 'string' ) {\n"
. " sName = sName.toLowerCase();\n"
. " }\n"
. " for (var i=0;i<cbshowtabsArray.length;i++) {\n"
. " for (var j=0;j<cbshowtabsArray
[0].length;j++) {\n"
. " if (cbshowtabsArray[0][j] == sName) {\n"
. " eval(cbshowtabsArray[1]);\n"
. " return;\n"
. " }\n"
. " }\n"
. " }\n"
. "}\n"
. "//--><!]]></script>\n";
addCbHeadTag( $_CB_ui, $head );
$functionOutputed = true;
}
[/code:1]
Post edited by: beat, at: 2007/11/15 11:05