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