Commit f67f4ccd authored by jlaval's avatar jlaval
Browse files

Bleh

parent 04b23d4a
......@@ -858,7 +858,7 @@ class interfaceweb
$cts->add($frm);
if ($level == 3)
$cts->puts('<script type="text/javascript">var txt = document.getElementsByName("____really_sure__")[0]; var sub = document.getElementById("___i_am_really_sure"); sub.disabled = true; txt.onchange = function () { var txt = document.getElementsByName("____really_sure__")[0]; var sub = document.getElementById("___i_am_really_sure"); if (txt.value == "'.$phrase_magique.'") sub.disabled = false; else sub.disabled = true; }</script>');
$cts->puts('<script type="text/javascript">var txt = document.getElementsByName("____really_sure__")[0]; var sub = document.getElementById("___i_am_really_sure"); sub.disabled = true; txt.onkeypress = function (event) { var txt = document.getElementsByName("____really_sure__")[0]; var sub = document.getElementById("___i_am_really_sure"); if (txt.value == "oui je suis sur de vouloir faire ç") sub.disabled = false; else sub.disabled = true; }</script>');
$this->add_contents($cts);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment