Explorar el Código

fix DHCP host name population

Christian Herzog hace 5 años
padre
commit
459d6fe208
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      components/wifi-manager/code.js

+ 2 - 2
components/wifi-manager/code.js

@@ -729,8 +729,8 @@ function getConfig() {
                 } else if (key == 'autoexec1') {
                     $("textarea#autoexec1").val(data[key].value);
                 } else if (key == 'host_name') {
-                    $("dhcp-name1").val(data[key].value);
-                    $("dhcp-name2").val(data[key].value);
+                    $("input#dhcp-name1").val(data[key].value);
+                    $("input#dhcp-name2").val(data[key].value);
                 }
 
                 $("tbody#nvsTable").append(