2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

FileLog.pm: fix removeRegexpPart bug in FHEMWEB detail-view

git-svn-id: https://svn.fhem.de/fhem/trunk@6769 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-10-15 17:03:30 +00:00
parent 568ad6deab
commit 93aa68af64

View File

@ -330,7 +330,7 @@ FileLog_fhemwebFn($$$$)
if(@ra > 1) { if(@ra > 1) {
foreach my $r (@ra) { foreach my $r (@ra) {
$ret .= "<tr class=\"".(($row++&1)?"odd":"even")."\">"; $ret .= "<tr class=\"".(($row++&1)?"odd":"even")."\">";
my $cmd = "cmd.X=set $d removeRegexpPart&val.X=$r"; my $cmd = "cmd.X= set $d removeRegexpPart&val.X=$r"; # =.set: avoid JS
$ret .= "<td>$r</td>"; $ret .= "<td>$r</td>";
$ret .= FW_pH("$cmd&detail=$d", "removeRegexpPart", 1,undef,1); $ret .= FW_pH("$cmd&detail=$d", "removeRegexpPart", 1,undef,1);
$ret .= "</tr>"; $ret .= "</tr>";