notify/FileLog: fix FHEMWEB warning (Forum #125619)

git-svn-id: https://svn.fhem.de/fhem/trunk@25531 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-01-21 08:12:25 +00:00
parent 7be003d9e3
commit efdc72eb4f
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ notify_fhemwebFn($$$$)
$ret .= "</tr>"; $ret .= "</tr>";
} }
} }
$ret .= '<script>setTimeout(function(){if(FW_checkNotifydev)'. $ret .= '<script>setTimeout(function(){if(window.FW_checkNotifydev)'.
'FW_checkNotifydev("REGEXP")}, 100)</script>'; 'FW_checkNotifydev("REGEXP")}, 100)</script>';
my @et = devspec2array("TYPE=eventTypes"); my @et = devspec2array("TYPE=eventTypes");

View File

@ -566,7 +566,7 @@ FileLog_fhemwebFn($$$$)
# DETAIL only from here on # DETAIL only from here on
my $hash = $defs{$d}; my $hash = $defs{$d};
$ret .= '<script>setTimeout(function(){if(FW_checkNotifydev)'. $ret .= '<script>setTimeout(function(){if(window.FW_checkNotifydev)'.
'FW_checkNotifydev("REGEXP")}, 100)</script>'; 'FW_checkNotifydev("REGEXP")}, 100)</script>';
$ret .= "<br>Regexp parts"; $ret .= "<br>Regexp parts";
$ret .= "<br><table class=\"block wide\">"; $ret .= "<br><table class=\"block wide\">";