Commit 3b56391622af15ef9d3b3854b49d907f17dac56d
1 parent
d5410432
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
ferramentas/analisageometrias/index.js.php
| ... | ... | @@ -301,10 +301,10 @@ i3GEOF.analisaGeometrias = { |
| 301 | 301 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=listageometrias", |
| 302 | 302 | cp = new cpaint(); |
| 303 | 303 | montalistageometrias = function(retorno){ |
| 304 | - if(retorno.data !== "") | |
| 304 | + if(retorno.data != "") //não comparar com !== | |
| 305 | 305 | { |
| 306 | 306 | var ins,cor,temp,j,k,i; |
| 307 | - ins = "<input id=i3GEOanalisageometriasbotao4 type=button size=20 value='Excluir marcados' /> "; | |
| 307 | + ins = "<p class=paragrafo ><input id=i3GEOanalisageometriasbotao4 type=button size=20 value='Excluir marcados' /> "; | |
| 308 | 308 | ins += "<input id=i3GEOanalisageometriasbotao5 type=i3GEOanalisageometriasbutton size=20 value='Ver no mapa' /><br><br>"; |
| 309 | 309 | cor = "rgb(245,245,245)"; |
| 310 | 310 | for (i=0;i<retorno.data.length; i++) |
| ... | ... | @@ -341,6 +341,7 @@ i3GEOF.analisaGeometrias = { |
| 341 | 341 | i3GEOF.analisaGeometrias.aguarde.visibility = "hidden"; |
| 342 | 342 | } |
| 343 | 343 | else{ |
| 344 | + | |
| 344 | 345 | $i("i3GEOanalisageometriaslistadegeometrias").innerHTML = "<p class=paragrafo >Nenhuma geometria disponível."; |
| 345 | 346 | i3GEOF.analisaGeometrias.aguarde.visibility = "hidden"; |
| 346 | 347 | } | ... | ... |