mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
init $positions early
This commit is contained in:
parent
3e2931068e
commit
9f211d1fda
|
@ -42,8 +42,8 @@ class SeedDMS_View_WorkflowGraph extends SeedDMS_Bootstrap_Style {
|
|||
header('Content-Type: application/javascript; charset=UTF-8');
|
||||
|
||||
$renderdata = $this->workflow->getLayoutData();
|
||||
if($renderdata) {
|
||||
$positions = array();
|
||||
if($renderdata) {
|
||||
$data = json_decode($renderdata);
|
||||
foreach($data->nodes as $node) {
|
||||
if($node->group == 'nodes') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user