Explorar o código

fixed id for the secret JS

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
e00eca2ba5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/views/Configurator/Step/secret.html.twig

+ 1 - 1
Resources/views/Configurator/Step/secret.html.twig

@@ -38,7 +38,7 @@
             for (i=0; i < 32; i++) {
                 result += Math.round(Math.random()*16).toString(16);
             }
-            document.getElementById('secretstep_secret').value = result;
+            document.getElementById('distributionbundle_secret_step_secret').value = result;
         }
     </script>
 {% endblock %}