Commit 07de107eb891c1b0ba45805bafa9ce3190b67449
1 parent
e5f2df36
Exists in
master
and in
7 other branches
Correção na aplicação do parametro simbolo em todas as classes
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
classesphp/classe_legenda.php
@@ -881,11 +881,11 @@ $width | @@ -881,11 +881,11 @@ $width | ||
881 | } | 881 | } |
882 | continue; | 882 | continue; |
883 | case "symbolname": | 883 | case "symbolname": |
884 | - if($symbolname == "" || $symbolname == "0"){ | 884 | + if($parametro == "" || $parametro == "0"){ |
885 | $classe->deletestyle($estilo); | 885 | $classe->deletestyle($estilo); |
886 | $estilo = ms_newStyleObj($classe); | 886 | $estilo = ms_newStyleObj($classe); |
887 | } | 887 | } |
888 | - else{ | 888 | + else{ |
889 | if(is_numeric($valor)){ | 889 | if(is_numeric($valor)){ |
890 | $estilo->set("symbol",$valor); | 890 | $estilo->set("symbol",$valor); |
891 | } | 891 | } |
ferramentas/legenda/index.js
@@ -1780,7 +1780,6 @@ i3GEOF.legenda = | @@ -1780,7 +1780,6 @@ i3GEOF.legenda = | ||
1780 | adicionaProcesso : function(s) { | 1780 | adicionaProcesso : function(s) { |
1781 | $i("i3GEOlegendaprocessos").innerHTML += $inputText("", "", "", "", 50, s.value); | 1781 | $i("i3GEOlegendaprocessos").innerHTML += $inputText("", "", "", "", 50, s.value); |
1782 | }, | 1782 | }, |
1783 | - //FIXME a aplicacao do simbolo nao funciona | ||
1784 | aplicaTodasClasses : function(parametro,id){ | 1783 | aplicaTodasClasses : function(parametro,id){ |
1785 | var valor = $i(id).value; | 1784 | var valor = $i(id).value; |
1786 | i3GEO.janela.confirma( | 1785 | i3GEO.janela.confirma( |