BUG 6864 En el tab del caso no esta cargando el label definido

This issue was fixed, added the title when it is setting with varibles
This commit is contained in:
Carlos Pacha
2011-07-04 11:06:12 -04:00
parent 54f6ac749e
commit b911528d00

View File

@@ -974,8 +974,22 @@
/* Render page */
$oHeadPublisher =& headPublisher::getSingleton();
$oHeadPublisher->addScriptCode("parent.showCaseNavigatorPanel('$sStatus');");
$oHeadPublisher->addScriptCode("
if (typeof parent != 'undefined') {
parent.showCaseNavigatorPanel('$sStatus');
}
");
//we are setting the title with variables here
$findme = '#';
$pos = strpos($sTitleCase, $findme);
if ($pos === false && $pos==0) {
$oHeadPublisher->addScriptCode("
if (typeof parent != 'undefined') {
parent.Ext.getCmp('casesTab').setTitle('$sTitleCase');
}
");
}
G::RenderPage('publish', 'blank');
if( $_SESSION['TRIGGER_DEBUG']['ISSET'] ){