fhemweb.js: preset the rename field with the old value (Forum #129858)

git-svn-id: https://svn.fhem.de/fhem/trunk@26803 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2022-12-06 18:18:56 +00:00
parent 77a24d7cf7
commit 1c94a3af75

View File

@@ -517,7 +517,8 @@ function
FW_renameDevice(dev)
{
var div = $("<div>");
$(div).html('Rename '+dev+' to:<br><br><input type="text" size="30">');
$(div).html('Rename '+dev+
' to:<br><br><input type="text" size="30" value="'+dev+'">');
$("body").append(div);
$(div).dialog({