mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
22_HOMEMODE.pm: v1.1.6 - fix longpoll for details view
git-svn-id: https://svn.fhem.de/fhem/trunk@14867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
80e4e7fd61
commit
14189a57a6
@ -16,7 +16,7 @@ use Time::HiRes qw(gettimeofday);
|
||||
use HttpUtils;
|
||||
use vars qw{%attr %defs %modules $FW_CSRF};
|
||||
|
||||
my $HOMEMODE_version = "1.1.5";
|
||||
my $HOMEMODE_version = "1.1.6";
|
||||
my $HOMEMODE_Daytimes = "05:00|morning 10:00|day 14:00|afternoon 18:00|evening 23:00|night";
|
||||
my $HOMEMODE_Seasons = "03.01|spring 06.01|summer 09.01|autumn 12.01|winter";
|
||||
my $HOMEMODE_UserModes = "gotosleep,awoken,asleep";
|
||||
@ -2984,7 +2984,7 @@ sub HOMEMODE_Details($$$)
|
||||
$html .= "var t=\$(this).find(\".homeinfo\").text();";
|
||||
$html .= "var id=\$(this).find(\".homeinfo\").attr(\"informid\");";
|
||||
$html .= "var r=id.split(\"-\")[1];";
|
||||
$html .= "\$(\".homeinfopanel\").text(t).attr(\"informid\",id);";
|
||||
$html .= "\$(\".homeinfopanel\").text(t).attr(\"informid\",r);";
|
||||
$html .= "if(r){\$.post(window.location.pathname+\"?cmd=setreading%20$name%20lastInfo%20\"+r+\"$FW_CSRF\")};";
|
||||
$html .= "});</script>";
|
||||
return $html;
|
||||
|
Loading…
Reference in New Issue
Block a user