Commit 68924435da8a24f6db23db60d7bed84398a9616c

Authored by Edmar Moretti
1 parent 70026000

--no commit message

Showing 1 changed file with 16 additions and 16 deletions   Show diff stats
classesjs/classe_coordenadas.js
@@ -344,20 +344,20 @@ i3GEO.coordenadas = { @@ -344,20 +344,20 @@ i3GEO.coordenadas = {
344 {string} - html com a tabela 344 {string} - html com a tabela
345 */ 345 */
346 criaMascaraDMS: function(prefixo,titulo,caixa){ 346 criaMascaraDMS: function(prefixo,titulo,caixa){
347 - var ins = "<table id="+prefixo+" style=display:block;text-align:center ><tr style='border-bottom:2px solid white' >" +  
348 - "<td style=width:120px;text-align:right >"+titulo+" X:&nbsp;</td>" +  
349 - "<td>"+$inputText("","315",prefixo+"xg","grau","3","-00")+"&nbsp;</td>" +  
350 - "<td>"+$inputText("","",prefixo+"xm","minuto","3","00")+"&nbsp;</td>" +  
351 - "<td>"+$inputText("","",prefixo+"xs","segundo","5","00.00")+"&nbsp;</td>" +  
352 - "<td>Y:"+$inputText("","",prefixo+"yg","grau","3","-00")+"&nbsp;</td>" +  
353 - "<td>"+$inputText("","",prefixo+"ym","minuto","3","00")+"&nbsp;</td>" +  
354 - "<td>"+$inputText("","",prefixo+"ys","segundo","5","00.00")+"</td>",  
355 - temp = 'var '+prefixo+'xxx = i3GEO.calculo.dms2dd($i("'+prefixo+'xg").value,$i("'+prefixo+'xm").value,$i("'+prefixo+'xs").value);' +  
356 - 'var '+prefixo+'yyy = i3GEO.calculo.dms2dd($i("'+prefixo+'yg").value,$i("'+prefixo+'ym").value,$i("'+prefixo+'ys").value);' + 347 + var ins = '<table id='+prefixo+' style=display:block;text-align:center ><tr style="border-bottom:2px solid white" >' +
  348 + '<td style=width:120px;text-align:right >'+titulo+' X:&nbsp;</td>' +
  349 + '<td>'+$inputText('','315',prefixo+'xg','grau','3','-00')+'&nbsp;</td>' +
  350 + '<td>'+$inputText('','',prefixo+'xm','minuto','3','00')+'&nbsp;</td>' +
  351 + '<td>'+$inputText('','',prefixo+'xs','segundo','5','00.00')+'&nbsp;</td>' +
  352 + '<td>Y:'+$inputText('','',prefixo+'yg','grau','3','-00')+'&nbsp;</td>' +
  353 + '<td>'+$inputText('','',prefixo+'ym','minuto','3','00')+'&nbsp;</td>' +
  354 + '<td>'+$inputText('','',prefixo+'ys','segundo','5','00.00')+'</td>',
  355 + temp = 'var '+prefixo+'xxx = i3GEO.calculo.dms2dd($i(\''+prefixo+'xg\').value,$i(\''+prefixo+'xm\').value,$i(\''+prefixo+'xs\').value);' +
  356 + 'var '+prefixo+'yyy = i3GEO.calculo.dms2dd($i(\''+prefixo+'yg\').value,$i(\''+prefixo+'ym\').value,$i(\''+prefixo+'ys\').value);' +
357 'i3GEO.navega.zoomponto(i3GEO.configura.locaplic,i3GEO.configura.sid,'+prefixo+'xxx,'+prefixo+'yyy);'; 357 'i3GEO.navega.zoomponto(i3GEO.configura.locaplic,i3GEO.configura.sid,'+prefixo+'xxx,'+prefixo+'yyy);';
358 - ins += '<td><img class=tic title=zoom onclick="'+temp+'" src="'+i3GEO.util.$im("branco.gif")+'" /></td>' +  
359 - "<td>"+caixa+"<td>" +  
360 - "</tr></table>"; 358 + ins += '<td><img class=tic title=zoom onclick="'+temp+'" src="'+i3GEO.util.$im("branco.gif")+'" /></td>' +
  359 + "<td>"+caixa+"</td>" +
  360 + "</tr></table>";
361 return ins; 361 return ins;
362 }, 362 },
363 /* 363 /*
@@ -567,7 +567,7 @@ i3GEO.coordenadas = { @@ -567,7 +567,7 @@ i3GEO.coordenadas = {
567 // 567 //
568 //cria a caixa de seleção 568 //cria a caixa de seleção
569 // 569 //
570 - for(i=0;i<n;i++){ 570 + for(i=0;i<n;i += 1){
571 temp = this.config[tipos[i]]; 571 temp = this.config[tipos[i]];
572 if(temp.ativo === true){ 572 if(temp.ativo === true){
573 caixa += "<option value='"+tipos[i]+"'>"+temp.titulo+"</option>"; 573 caixa += "<option value='"+tipos[i]+"'>"+temp.titulo+"</option>";
@@ -576,7 +576,7 @@ i3GEO.coordenadas = { @@ -576,7 +576,7 @@ i3GEO.coordenadas = {
576 caixa += "</select>"; 576 caixa += "</select>";
577 if(this.formato !== "bloco") 577 if(this.formato !== "bloco")
578 {caixa = "";} 578 {caixa = "";}
579 - for(i=0;i<n;i++){ 579 + for(i=0;i<n;i += 1){
580 temp = this.config[tipos[i]]; 580 temp = this.config[tipos[i]];
581 if(temp.ativo === true){ 581 if(temp.ativo === true){
582 if(temp.tipo === "geo"){ 582 if(temp.tipo === "geo"){
@@ -630,7 +630,7 @@ i3GEO.coordenadas = { @@ -630,7 +630,7 @@ i3GEO.coordenadas = {
630 if(temp && temp.style.display === "block") 630 if(temp && temp.style.display === "block")
631 {i3GEO.coordenadas.atualizaGeo(x,y,id);} 631 {i3GEO.coordenadas.atualizaGeo(x,y,id);}
632 }; 632 };
633 - for(i=0;i<n;i++){ 633 + for(i=0;i<n;i += 1){
634 temp = i3GEO.coordenadas.config[tipos[i]]; 634 temp = i3GEO.coordenadas.config[tipos[i]];
635 if(temp.ativo === true){ 635 if(temp.ativo === true){
636 if(temp.tipo === "geo"){ 636 if(temp.tipo === "geo"){