From 4ce143ba02dfc4613132922c3d99f07a3ddee3cc Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 24 Jul 2013 05:28:17 +0000 Subject: [PATCH] FHEMWEB: redirect for post commands too git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3488 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/01_FHEMWEB.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FHEM/01_FHEMWEB.pm b/FHEM/01_FHEMWEB.pm index 15c2f0901..f77c991e5 100755 --- a/FHEM/01_FHEMWEB.pm +++ b/FHEM/01_FHEMWEB.pm @@ -495,8 +495,7 @@ FW_answerCall($) $FW_cmdret = $docmd ? FW_fC($cmd, $cmddev) : ""; # Redirect after a command, to clean the browser URL window - if($docmd && !$FW_cmdret && $FW_formmethod eq "get" && - AttrVal($FW_wname, "redirectCmds", 1)) { + if($docmd && !$FW_cmdret && AttrVal($FW_wname, "redirectCmds", 1)) { my $tgt = $FW_ME; if($FW_detail) { $tgt .= "?detail=$FW_detail" } elsif($FW_room) { $tgt .= "?room=$FW_room" }