Remove STATE_ and CMD defines as they are in skin.js.php now. quote connKey so that it retains leading 0s. Should quiet some zms errors.
parent
2434c39c2d
commit
f21df362fa
|
@ -16,9 +16,9 @@ var monitorData = new Array();
|
|||
global $monitors;
|
||||
foreach ( $monitors as $monitor ) {
|
||||
?>
|
||||
monitorData[monitorData.length] = {
|
||||
'id': <?php echo $monitor->Id() ?>,
|
||||
'connKey': <?php echo $monitor->connKey() ?>,
|
||||
monitorData[monitorData.length] = {
|
||||
'id': <?php echo $monitor->Id() ?>,
|
||||
'connKey': '<?php echo $monitor->connKey() ?>',
|
||||
'width': <?php echo $monitor->ViewWidth() ?>,
|
||||
'height':<?php echo $monitor->ViewHeight() ?>,
|
||||
'janusEnabled':<?php echo $monitor->JanusEnabled() ?>,
|
||||
|
@ -40,4 +40,6 @@ foreach ( $layouts as $layout ) {
|
|||
layouts[<?php echo $layout->Id() ?>] = {"Name":"<?php echo $layout->Name()?>","Positions":<?php echo json_decode($layout->Positions())?$layout->Positions():'{}' ?>};
|
||||
<?php
|
||||
} // end foreach layout
|
||||
global $FreeFormLayoutId;
|
||||
echo 'freeform_layout_id='.$FreeFormLayoutId.';'
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue