From 667b072a4fcec5c4c27b5327264f3478a18de90b Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sat, 9 Jan 2021 13:55:39 +0000 Subject: [PATCH] 60_Watches: avoid JS error which appeared in seldom cases git-svn-id: https://svn.fhem.de/fhem/trunk@23499 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/60_Watches.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/60_Watches.pm b/fhem/FHEM/60_Watches.pm index 0b81097ac..26c5fd83d 100644 --- a/fhem/FHEM/60_Watches.pm +++ b/fhem/FHEM/60_Watches.pm @@ -55,7 +55,7 @@ BEGIN { readingsEndUpdate readingFnAttributes readingsSingleUpdate - sortTopicNum + sortTopicNum ) ); @@ -561,13 +561,13 @@ sub FWebFn { my $hash = $defs{$d}; my $alias = AttrVal($d, "alias", $d); # Linktext als Aliasname oder Devicename setzen - my $dlink = qq{$alias}; + my $dlink = qq{$alias}; my $ret = ""; $ret .= "$dlink
" if(!AttrVal($d,"hideDisplayName",0)); if(IsDisabled($d)) { if(AttrVal($d,"hideDisplayName",0)) { - $ret .= qq{Watch $d is disabled}; + $ret .= qq{Watch $d is disabled}; } else { $ret .= "Watch is disabled";