Commit 1a6f550c22be1ceb092e2817ce93e79102bc3158

Authored by Edmar Moretti
1 parent bd7ea51e

Inclusão de crítica para impedir a inclusão de textos quando a guia 3 estiver ativa

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
ferramentas/inseretxt/index.js.php
... ... @@ -343,8 +343,11 @@ i3GEOF.inseretxt = {
343 343 try{
344 344 if(i3GEOF.inseretxt.aguarde.visibility === "visible")
345 345 {return;}
  346 + if($i("i3GEOinseretxtguia3obj").style.display === "block"){
  347 + alert("Ative a guia 1 ou 2 para definir o texto");
  348 + return;
  349 + }
346 350 i3GEOF.inseretxt.aguarde.visibility = "visible";
347   -
348 351 var texto,temp,tema,item;
349 352 //
350 353 //de onde vem o texto
... ...