01_FHEMWEB: fix unintentional dropdown in room overview. (Forum #30174)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-12-09 19:11:36 +00:00
parent 0ba0df587a
commit 2da0180fef

View File

@@ -1340,7 +1340,7 @@ FW_showRoom()
foreach my $cmd (split(":", $cmdlist)) { foreach my $cmd (split(":", $cmdlist)) {
my $htmlTxt; my $htmlTxt;
my @c = split(' ', $cmd); # @c==0 if $cmd==" "; my @c = split(' ', $cmd); # @c==0 if $cmd==" ";
if(int(@c) && $allSets && $allSets =~ m/$c[0]:([^ ]*)/) { if(int(@c) && $allSets && $allSets =~ m/\b$c[0]:([^ ]*)/) {
my $values = $1; my $values = $1;
foreach my $fn (sort keys %{$data{webCmdFn}}) { foreach my $fn (sort keys %{$data{webCmdFn}}) {
no strict "refs"; no strict "refs";