INclude monitor Name in monitors array, because it useful to show monitors by name instead of id
parent
dc556c0f70
commit
8ffbc1d6f0
|
@ -7,7 +7,8 @@ const monitors = new Array();
|
|||
foreach ($monitors as $m) {
|
||||
?>
|
||||
monitors[monitors.length] = {
|
||||
'id': <?php echo $m->Id() ?>
|
||||
'id': <?php echo $m->Id() ?>,
|
||||
'name': '<?php echo $m->Name() ?>'
|
||||
};
|
||||
<?php
|
||||
} // end foreach monitor
|
||||
|
|
Loading…
Reference in New Issue