BUG 5003 Request for horizontal scroll bars when process map is wider than browser window SOLVED
- The horizontal scrollbar was on the bottom then is not visible - Before to load the process map get the maximun x position of the task to calculate the correct width
This commit is contained in:
@@ -6905,4 +6905,18 @@ function saveExtEvents($oData)
|
||||
return $aIDocs;
|
||||
}
|
||||
|
||||
function getMaximunTaskX($processUid) {
|
||||
$criteria = new Criteria('workflow');
|
||||
$criteria->addSelectColumn('MAX(TAS_POSX) AS MAX_X');
|
||||
$criteria->add(TaskPeer::PRO_UID, $processUid);
|
||||
|
||||
$dataset = TaskPeer::doSelectRS($criteria);
|
||||
$dataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||
$dataset->next();
|
||||
|
||||
$row = $dataset->getRow();
|
||||
|
||||
return (int)$row['MAX_X'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user