diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm
index aa970663f..a55b8e921 100644
--- a/fhem/FHEM/01_FHEMWEB.pm
+++ b/fhem/FHEM/01_FHEMWEB.pm
@@ -4742,7 +4742,7 @@ FW_log($$)
detailLinks
Anzahl der Links, die auf der Detailseite unten angezeigt werden. Die
- weiteren Befehle werden in einem Auswahlmen&%uuml; angezeigt.
+ weiteren Befehle werden in einem Auswahlmenü angezeigt.
Voreinstellung ist 2.
diff --git a/fhem/fhem.pl b/fhem/fhem.pl
index eb9cf22ef..0bfd44960 100755
--- a/fhem/fhem.pl
+++ b/fhem/fhem.pl
@@ -2808,6 +2808,8 @@ CommandRename($$)
return "Invalid characters in name (not A-Za-z0-9._): $new"
if(!goodDeviceName($new));
return "Cannot rename global" if($old eq "global");
+ return "Cannot rename $old from itself"
+ if($cl && $cl->{SNAME} && $cl->{SNAME} eq $old);
%ntfyHash = ();
$defs{$new} = $defs{$old};
diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js
index 797644cf3..c4605d3a0 100644
--- a/fhem/www/pgm2/fhemweb.js
+++ b/fhem/www/pgm2/fhemweb.js
@@ -501,7 +501,7 @@ FW_confirmDelete()
if(!ma || ma.length != 2)
return;
FW_removeLink(this);
- $(this).click(function(e){ FW_delete(ma[1], ma[0]) });
+ $(this).click(function(e){ FW_delete(ma[1], ma[0]); return false; });
});
}
@@ -520,7 +520,7 @@ FW_renameDevice(dev)
var nn = $(div).find("input").val();
if(!nn.match(/^[a-z0-9._]*$/i))
return FW_okDialog("Illegal characters in the new name");
- location.href = addcsrf(FW_root+"?cmd=rename "+dev+" "+nn);
+ location.href=addcsrf(FW_root+"?cmd=rename "+dev+" "+nn+"&detail="+nn);
}},
{text:"Cancel", click:doClose} ],
close: doClose