Commit b878eefc96ce51b1b1de4df91512d6ce683586e9
1 parent
0c5efd4d
Exists in
master
Correção nos parametros da ferramenta colorramp
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ferramentas/colourramp/index.php
... | ... | @@ -12,6 +12,8 @@ |
12 | 12 | } |
13 | 13 | |
14 | 14 | $locaplic = $_GET["locaplic"]; |
15 | + $elemento = $_GET["elemento"]; | |
16 | + $doc = $_GET["doc"]; | |
15 | 17 | ?> |
16 | 18 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
17 | 19 | <html> |
... | ... | @@ -200,6 +202,7 @@ function aplicarCores() |
200 | 202 | if(inputs[i].parentNode.style.display !== "none") |
201 | 203 | {listaRGB.push(inputs[i].value);} |
202 | 204 | } |
205 | + | |
203 | 206 | doc.getElementById(elemento).value = listaRGB.join("|"); |
204 | 207 | try{ |
205 | 208 | doc.getElementById(elemento).onchange.call(); | ... | ... |