2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

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 943d923fae
commit e52de72eaa

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({