Commit 32b5b39abc0ddba358c1281e37c24615e12abff7
1 parent
da1b193c
Exists in
master
and in
7 other branches
--no commit message
Showing
5 changed files
with
9 additions
and
10 deletions
Show diff stats
ferramentas/googlemaps1/index.js
@@ -481,7 +481,7 @@ function adicionaMarcasMapa(coordenadas){ | @@ -481,7 +481,7 @@ function adicionaMarcasMapa(coordenadas){ | ||
481 | for(i=0;i<n;i++){ | 481 | for(i=0;i<n;i++){ |
482 | pt = coordenadas[i].split(" "); | 482 | pt = coordenadas[i].split(" "); |
483 | point = new google.maps.LatLng(pt[1],pt[0]); | 483 | point = new google.maps.LatLng(pt[1],pt[0]); |
484 | - var marker = new google.maps.Marker({ | 484 | + marker = new google.maps.Marker({ |
485 | position : point | 485 | position : point |
486 | }); | 486 | }); |
487 | //marker = new GMarker(point); | 487 | //marker = new GMarker(point); |
ferramentas/graficointerativo1/index.js
@@ -644,7 +644,8 @@ i3GEOF.graficointerativo1 = { | @@ -644,7 +644,8 @@ i3GEOF.graficointerativo1 = { | ||
644 | * <i3GEO.util.comboItens> | 644 | * <i3GEO.util.comboItens> |
645 | */ | 645 | */ |
646 | comboItensSel : function() { | 646 | comboItensSel : function() { |
647 | - var tema = $i("i3GEOgraficointerativo1ComboTemasId").value; | 647 | + var adicionaFilho = function(){}, |
648 | + tema = $i("i3GEOgraficointerativo1ComboTemasId").value; | ||
648 | i3GEO.util | 649 | i3GEO.util |
649 | .comboItens( | 650 | .comboItens( |
650 | "i3GEOgraficointerativo1ComboXid", | 651 | "i3GEOgraficointerativo1ComboXid", |
@@ -681,7 +682,7 @@ i3GEOF.graficointerativo1 = { | @@ -681,7 +682,7 @@ i3GEOF.graficointerativo1 = { | ||
681 | $i("i3GEOgraficointerativo1ComboXid").style.width = "160px"; | 682 | $i("i3GEOgraficointerativo1ComboXid").style.width = "160px"; |
682 | $i("i3GEOgraficointerativo1ComboYid").style.width = "160px"; | 683 | $i("i3GEOgraficointerativo1ComboYid").style.width = "160px"; |
683 | 684 | ||
684 | - var adicionaFilho = function() { | 685 | + adicionaFilho = function() { |
685 | var no = document.createElement("div"), | 686 | var no = document.createElement("div"), |
686 | id = "CorG"+parseInt(Math.random()*100000,10), | 687 | id = "CorG"+parseInt(Math.random()*100000,10), |
687 | novoselect; | 688 | novoselect; |
@@ -1242,7 +1243,7 @@ i3GEOF.graficointerativo1 = { | @@ -1242,7 +1243,7 @@ i3GEOF.graficointerativo1 = { | ||
1242 | if($i("i3GEOgraficointerativo1TituloY").value != ""){ | 1243 | if($i("i3GEOgraficointerativo1TituloY").value != ""){ |
1243 | config.orthoAxisTitle = $i("i3GEOgraficointerativo1TituloY").value; | 1244 | config.orthoAxisTitle = $i("i3GEOgraficointerativo1TituloY").value; |
1244 | } | 1245 | } |
1245 | - var temp = $i("i3GEOgraficointerativo1FatorTamanho"); | 1246 | + temp = $i("i3GEOgraficointerativo1FatorTamanho"); |
1246 | if(temp && temp.value > 0){ | 1247 | if(temp && temp.value > 0){ |
1247 | config.width = dados.resultset.length * temp.value; | 1248 | config.width = dados.resultset.length * temp.value; |
1248 | } | 1249 | } |
ferramentas/upload/index.js
@@ -103,8 +103,7 @@ i3GEOF.upload = { | @@ -103,8 +103,7 @@ i3GEOF.upload = { | ||
103 | String com o código html | 103 | String com o código html |
104 | */ | 104 | */ |
105 | html:function(){ | 105 | html:function(){ |
106 | - var limg = i3GEO.configura.locaplic+"/imagens/ic_zoom.png", | ||
107 | - ins = '<form id=i3GEOuploadf target="i3GEOuploadiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/upload/upload.php" method="post" ENCTYPE="multipart/form-data">' + | 106 | + var ins = '<form id=i3GEOuploadf target="i3GEOuploadiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/upload/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
108 | '<p class="paragrafo" >shp: <br><input type="file" size=22 name="i3GEOuploadshp" style="top:0px;left:0px;cursor:pointer;"></p>' + | 107 | '<p class="paragrafo" >shp: <br><input type="file" size=22 name="i3GEOuploadshp" style="top:0px;left:0px;cursor:pointer;"></p>' + |
109 | '<p class="paragrafo" >shx: <br><input type="file" size=22 name="i3GEOuploadshx" style="top:0px;left:0px;cursor:pointer;"></p>' + | 108 | '<p class="paragrafo" >shx: <br><input type="file" size=22 name="i3GEOuploadshx" style="top:0px;left:0px;cursor:pointer;"></p>' + |
110 | '<p class="paragrafo" >dbf: <br><input type="file" size=22 name="i3GEOuploaddbf" style="top:0px;left:0px;cursor:pointer;"></p>'; | 109 | '<p class="paragrafo" >dbf: <br><input type="file" size=22 name="i3GEOuploaddbf" style="top:0px;left:0px;cursor:pointer;"></p>'; |
ferramentas/uploadsimbolo/index.js
@@ -96,8 +96,7 @@ i3GEOF.uploadsimbolo = { | @@ -96,8 +96,7 @@ i3GEOF.uploadsimbolo = { | ||
96 | String com o código html | 96 | String com o código html |
97 | */ | 97 | */ |
98 | html:function(){ | 98 | html:function(){ |
99 | - var limg = i3GEO.configura.locaplic+"/imagens/ic_zoom.png", | ||
100 | - ins = '<form id=i3GEOuploadsimbolof target="i3GEOuploadsimboloiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadsimbolo/upload.php" method="post" ENCTYPE="multipart/form-data">' + | 99 | + var ins = '<form id=i3GEOuploadsimbolof target="i3GEOuploadsimboloiframe" action="'+i3GEO.configura.locaplic+'/ferramentas/uploadsimbolo/upload.php" method="post" ENCTYPE="multipart/form-data">' + |
101 | '<p class="paragrafo" >PNG/JPG: <br><input type="file" size=22 name="i3GEOuploadsimboloarq" style="top:0px;left:0px;cursor:pointer;"></p>'; | 100 | '<p class="paragrafo" >PNG/JPG: <br><input type="file" size=22 name="i3GEOuploadsimboloarq" style="top:0px;left:0px;cursor:pointer;"></p>'; |
102 | if(i3GEO.parametros.editor === "sim"){ | 101 | if(i3GEO.parametros.editor === "sim"){ |
103 | ins += '<p class="paragrafo" >'+$trad(1,i3GEOF.uploadsimbolo.dicionario)+':<br><input class=digitar type="text" size=45 name="dirDestino" id="dirDestino" style="top:0px;left:0px;cursor:pointer;"></p>'; | 102 | ins += '<p class="paragrafo" >'+$trad(1,i3GEOF.uploadsimbolo.dicionario)+':<br><input class=digitar type="text" size=45 name="dirDestino" id="dirDestino" style="top:0px;left:0px;cursor:pointer;"></p>'; |
ferramentas/vinde/index.js
@@ -107,7 +107,7 @@ i3GEOF.vinde = { | @@ -107,7 +107,7 @@ i3GEOF.vinde = { | ||
107 | i3GEO.util.ajaxGet(p,funcao); | 107 | i3GEO.util.ajaxGet(p,funcao); |
108 | }, | 108 | }, |
109 | arvore: function(dados,arvore){ | 109 | arvore: function(dados,arvore){ |
110 | - var root,tempNode,d,criaNo,criaNoArray,dados; | 110 | + var root,tempNode,d,criaNo; |
111 | if(arvore == undefined ){ | 111 | if(arvore == undefined ){ |
112 | arvore = new YAHOO.widget.TreeView($i("i3GEOFvindeArvore")); | 112 | arvore = new YAHOO.widget.TreeView($i("i3GEOFvindeArvore")); |
113 | } | 113 | } |
@@ -214,7 +214,7 @@ i3GEOF.vinde = { | @@ -214,7 +214,7 @@ i3GEOF.vinde = { | ||
214 | minimiza = function(){ | 214 | minimiza = function(){ |
215 | i3GEO.janela.minimiza("i3GEOF.vinde"); | 215 | i3GEO.janela.minimiza("i3GEOF.vinde"); |
216 | }; | 216 | }; |
217 | - var janela,divid,temp,titulo; | 217 | + var janela,divid,titulo; |
218 | //cria a janela flutuante | 218 | //cria a janela flutuante |
219 | titulo = $trad(1,i3GEOF.vinde.dicionario)+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=7&idajuda=114' > </a>"; | 219 | titulo = $trad(1,i3GEOF.vinde.dicionario)+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=7&idajuda=114' > </a>"; |
220 | janela = i3GEO.janela.cria( | 220 | janela = i3GEO.janela.cria( |