HOR-2852
This commit is contained in:
@@ -59,32 +59,17 @@ while ($rsSql->next()) {
|
|||||||
|
|
||||||
$grdTitle = htmlentities($proTitle . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
|
$grdTitle = htmlentities($proTitle . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
|
||||||
$tabTitle = htmlentities(substr($proTitle, 0, 25) . ((strlen($proTitle) > 25) ? "..." : null) . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
|
$tabTitle = htmlentities(substr($proTitle, 0, 25) . ((strlen($proTitle) > 25) ? "..." : null) . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
|
||||||
|
|
||||||
$oProcess = new Process();
|
$arrayTabItem[] = "
|
||||||
$isBpmn = $oProcess->isBpmnProcess($processUid);
|
{
|
||||||
if ($isBpmn) {
|
title: \"<span onmouseover=\\\"toolTipTab('$grdTitle', 1);\\\" onmouseout=\\\"toolTipTab('', 0);\\\">$tabTitle</span>\",
|
||||||
$arrayTabItem[] = "
|
listeners: {
|
||||||
{
|
activate: function ()
|
||||||
title: \"<span onmouseover=\\\"toolTipTab('$grdTitle', 1);\\\" onmouseout=\\\"toolTipTab('', 0);\\\">$tabTitle</span>\",
|
{
|
||||||
listeners: {
|
generateGrid(\"$processUid\", \"$taskUid\", \"$dynaformUid\");
|
||||||
activate: function ()
|
|
||||||
{
|
|
||||||
generateGrid(\"$processUid\", \"$taskUid\", \"$dynaformUid\");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}";
|
}
|
||||||
} else {
|
}";
|
||||||
$arrayTabItem[] = "
|
|
||||||
{
|
|
||||||
title: \"<span onmouseover=\\\"toolTipTab('$grdTitle', 1);\\\" onmouseout=\\\"toolTipTab('', 0);\\\">$tabTitle</span>\",
|
|
||||||
listeners: {
|
|
||||||
activate: function ()
|
|
||||||
{
|
|
||||||
generateGrid(\"$processUid\", \"$taskUid\", \"$dynaformUid\");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($arrayTabItem) > 0) {
|
if (count($arrayTabItem) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user