Skip to content
Permalink
Browse files
Updates
* Keep menu state on reload (Control Panel) - fixed
* Actions Log -- clear all button added
* Simple Devices: app view groups separator fixed
* Simple Devices: alive timeout can be negative (to avoid offline state)
* Simple Devices: keepAlive method fix
* Simple Devices: Dimmers now works with Room Activity update
* Simple Devices: Buttons now works with Room Activity update
* System: LoadFile warning fixed when file size = 0
  • Loading branch information
sergejey committed Mar 28, 2020
1 parent 33f90f7 commit d52f13c0286930255eca6927441d93194b9971d7
Showing 18 changed files with 329 additions and 243 deletions.
@@ -307,7 +307,7 @@ function getCookie(Name) {


function setCookie(name, value) {
var expire = "0, 01-01-2020 00:00:00 GMT"
var expire = "0, 01-01-2099 00:00:00 GMT"; // fix it someday in 2099 :)
document.cookie = name + "=" + escape(value) + "; expires=" + expire + "; path=/";
}

@@ -181,7 +181,9 @@ function LoadFile($filename)
$data = "";
if ($f) {
$fsize = filesize($filename);
$data = fread($f, $fsize);
if ($fsize>0) {
$data = fread($f, $fsize);
}
fclose($f);
}
return $data;

0 comments on commit d52f13c

Please sign in to comment.