Commit 0037e9bbf231f18e4d94ded766d5cdc8a0eb496b

Authored by Edmar Moretti
1 parent df832baa

--no commit message

ferramentas/identifica/index.js.php
... ... @@ -174,15 +174,19 @@ i3GEOF.identifica = {
174 174 //verifica se existem sistemas para identificar
175 175 //
176 176 i3GEOF.identifica.atualizaSistemas();
177   - if (i3GEO.temaAtivo !== "")
178   - {i3GEOF.identifica.buscaDadosTema(i3GEO.temaAtivo);}
  177 + if(i3GEO.temaAtivo !== ""){
  178 + //verifica se o tema ativo pode ser identificado
  179 + temp = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo);
  180 + if(temp.identifica.toLowerCase() !== "nao")
  181 + {i3GEOF.identifica.buscaDadosTema(i3GEO.temaAtivo);}
  182 + }
179 183 }
180 184 catch(erro){alert(erro);}
181 185  
182   - var Dom = YAHOO.util.Dom,
183   - Event = YAHOO.util.Event,
184   - col1 = null
185   - col2 = null;
  186 + var Dom = YAHOO.util.Dom,
  187 + Event = YAHOO.util.Event,
  188 + col1 = null,
  189 + col2 = null;
186 190  
187 191 col1 = Dom.get('i3GEOidentificatemaativo');
188 192 col2 = Dom.get('i3GEOidentificaocorrencia');
... ...
ferramentas/inseretxt/index.js.php
... ... @@ -165,7 +165,7 @@ i3GEOF.inseretxt = {
165 165 $inputText("","","i3GEOinseretxttamanho_i","",2,"8") +
166 166 ' </td></tr>' +
167 167 ' <tr><td>Largura do conector:</td><td>' +
168   - $inputText("","","i3GEOinseretxttamanho_c","",2,"8") +
  168 + $inputText("","","i3GEOinseretxttamanho_c","",2,"2") +
169 169 ' </td></tr>' +
170 170  
171 171 ' <tr><td>&nbsp;</td><td></td></tr>' +
... ...
ferramentas/inserexy2/index.js.php
... ... @@ -663,9 +663,9 @@ i3GEOF.inserexy = {
663 663 mostra = function(retorno){
664 664 i3GEOF.inserexy.aguarde.visibility = "hidden";
665 665 if (retorno.data !== undefined){
666   - var ins = "<textarea style=width:480px;height:80px >"+retorno.data[0]+"</textarea><br>";
667   - ins += "<textarea style=width:480px;height:80px >"+retorno.data[1]+"</textarea><br>";
668   - ins += "<textarea style=width:480px;height:80px >"+retorno.data[2]+"</textarea><br>";
  666 + var ins = "<textarea style=width:470px;height:80px >"+retorno.data[0]+"</textarea><br>";
  667 + ins += "<textarea style=width:470px;height:80px >"+retorno.data[1]+"</textarea><br>";
  668 + ins += "<textarea style=width:470px;height:80px >"+retorno.data[2]+"</textarea><br>";
669 669 $i("i3GEOinserexywktres").innerHTML = "<p class=paragrafo >"+ins+"</p>";
670 670 }
671 671 else
... ...
ferramentas/selecao/index.js.php
... ... @@ -464,26 +464,15 @@ i3GEOF.selecao = {
464 464 {return;}
465 465 ppx = objposicaocursor.imgx + adicionaxyBox[0];
466 466 py = objposicaocursor.imgy + adicionaxyBox[1];
467   - if (navn){
468   - if ((ppx > boxxini) && ((ppx - boxxini - 2) > 0))
469   - {bxs.width = ppx - boxxini - 2;}
470   - if ((py > boxyini) && ((py - boxyini - 2) > 0))
471   - {bxs.height = py - boxyini - 2;}
472   - if (ppx < boxxini)
473   - {bxs.left = ppx;bxs.width = boxxini - ppx + 2;}
474   - if (py < boxyini)
475   - {bxs.top = py;bxs.height = boxyini - py + 2;}
476   - }
477   - else{
478   - if (ppx > boxxini)
479   - {bxs.width = ppx - boxxini + "px";}
480   - if (py > boxyini)
481   - {bxs.height = py - boxyini + "px";}
482   - if (ppx < boxxini)
483   - {bxs.left = ppx + "px";bxs.width = boxxini - ppx + "px";}
484   - if (py < boxyini)
485   - {bxs.top = py + "px";bxs.height = boxyini - py + "px";}
486   - }
  467 +
  468 + if ((ppx > boxxini) && ((ppx - boxxini - 2) > 0))
  469 + {bxs.width = ppx - boxxini - 2;}
  470 + if ((py > boxyini) && ((py - boxyini - 2) > 0))
  471 + {bxs.height = py - boxyini - 2;}
  472 + if (ppx < boxxini)
  473 + {bxs.left = ppx;bxs.width = boxxini - ppx + 2;}
  474 + if (py < boxyini)
  475 + {bxs.top = py;bxs.height = boxyini - py + 2;}
487 476 },
488 477 /*
489 478 Function: termina
... ...