2019-08-23 11:39:42 +00:00
|
|
|
<?php
|
|
|
|
if (isset($_POST) && !empty($_POST)){
|
|
|
|
|
2019-10-18 13:38:04 +00:00
|
|
|
if (isset($_POST['modalFinal']) && $_POST['modalFinal'] != "") {
|
2019-08-23 11:39:42 +00:00
|
|
|
$subDeviceIds = $_POST['devices'];
|
|
|
|
foreach ($subDeviceIds as $subDeviceId) {
|
|
|
|
DashboardManager::Add($subDeviceId);
|
|
|
|
}
|
|
|
|
}
|
2020-04-28 09:52:14 +00:00
|
|
|
header('Location: ' . BASEURL . strtolower(basename(__FILE__, '.php')));
|
2019-08-23 11:39:42 +00:00
|
|
|
die();
|
|
|
|
}
|
|
|
|
?>
|