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:
parent
943d923fae
commit
e52de72eaa
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user