mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 19:30:31 +00:00
FHEMWEB: redirect for post commands too
git-svn-id: https://svn.fhem.de/fhem/trunk@3488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
db6851ae11
commit
c397461dd7
@ -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" }
|
||||
|
Loading…
Reference in New Issue
Block a user