Add UserId to js side layouts so we can check it
parent
c6cc23d73c
commit
fa2a02c27f
|
@ -36,7 +36,10 @@ layouts[0] = {}; // reserved, should hold which fields to clear when transitioni
|
|||
global $layouts;
|
||||
foreach ( $layouts as $layout ) {
|
||||
?>
|
||||
layouts[<?php echo $layout->Id() ?>] = {"Name":"<?php echo $layout->Name()?>","Positions":<?php echo json_decode($layout->Positions())?$layout->Positions():'{}' ?>};
|
||||
layouts[<?php echo $layout->Id() ?>] = {
|
||||
"Name":"<?php echo $layout->Name()?>",
|
||||
"UserId":"<?php echo $layout->UserId()?>",
|
||||
"Positions":<?php echo json_decode($layout->Positions())?$layout->Positions():'{}' ?>};
|
||||
<?php
|
||||
} // end foreach layout
|
||||
global $FreeFormLayoutId;
|
||||
|
|
Loading…
Reference in New Issue